function ConfigurablePluginBase::__construct
5 calls to ConfigurablePluginBase::__construct()
- BlockPageVariant::__construct in core/
modules/ block/ src/ Plugin/ DisplayVariant/ BlockPageVariant.php - Constructs a new BlockPageVariant.
- ContentModeration::__construct in core/
modules/ content_moderation/ src/ Plugin/ WorkflowType/ ContentModeration.php - Constructs a ContentModeration object.
- DefaultSelection::__construct in core/
lib/ Drupal/ Core/ Entity/ Plugin/ EntityReferenceSelection/ DefaultSelection.php - Constructs a new DefaultSelection object.
- ImageEffectBase::__construct in core/
modules/ image/ src/ ImageEffectBase.php - ViewsSelection::__construct in core/
modules/ views/ src/ Plugin/ EntityReferenceSelection/ ViewsSelection.php - Constructs a new ViewsSelection object.
5 methods override ConfigurablePluginBase::__construct()
- BlockPageVariant::__construct in core/
modules/ block/ src/ Plugin/ DisplayVariant/ BlockPageVariant.php - Constructs a new BlockPageVariant.
- ContentModeration::__construct in core/
modules/ content_moderation/ src/ Plugin/ WorkflowType/ ContentModeration.php - Constructs a ContentModeration object.
- DefaultSelection::__construct in core/
lib/ Drupal/ Core/ Entity/ Plugin/ EntityReferenceSelection/ DefaultSelection.php - Constructs a new DefaultSelection object.
- ImageEffectBase::__construct in core/
modules/ image/ src/ ImageEffectBase.php - ViewsSelection::__construct in core/
modules/ views/ src/ Plugin/ EntityReferenceSelection/ ViewsSelection.php - Constructs a new ViewsSelection object.
File
-
core/
lib/ Drupal/ Core/ Plugin/ ConfigurablePluginBase.php, line 26
Class
- ConfigurablePluginBase
- Base class for plugins that are configurable.
Namespace
Drupal\Core\PluginCode
public function __construct(array $configuration, $plugin_id, $plugin_definition) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->setConfiguration($configuration);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.