
| Current Path : /var/www/html_old/12park.backup/web/themes/bootstrap/src/Plugin/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/html_old/12park.backup/web/themes/bootstrap/src/Plugin/PluginBase.php |
<?php
namespace Drupal\bootstrap\Plugin;
use Drupal\Core\Plugin\PluginBase as CorePluginBase;
use Drupal\bootstrap\Bootstrap;
/**
* Base class for an update.
*
* @ingroup utility
*/
class PluginBase extends CorePluginBase {
/**
* The currently set theme object.
*
* @var \Drupal\bootstrap\Theme
*/
protected $theme;
/**
* {@inheritdoc}
*/
public function __construct(array $configuration, $plugin_id, $plugin_definition) {
$this->theme = Bootstrap::getTheme(isset($configuration['theme']) ? $configuration['theme'] : NULL);
parent::__construct($configuration, $plugin_id, $plugin_definition);
}
}