4 * Contains \Drupal\bootstrap\Plugin\PluginBase.
7 namespace Drupal\bootstrap\Plugin;
9 use Drupal\bootstrap\Bootstrap;
12 * Base class for an update.
16 class PluginBase extends \Drupal\Core\Plugin\PluginBase {
19 * The currently set theme object.
21 * @var \Drupal\bootstrap\Theme
28 public function __construct(array $configuration, $plugin_id, $plugin_definition) {
29 if (!isset($configuration['theme'])) {
30 $configuration['theme'] = Bootstrap::getTheme();
32 $this->theme = $configuration['theme'];
33 parent::__construct($configuration, $plugin_id, $plugin_definition);