function PluginBase::__construct
Same name in this branch
- 11.x core/lib/Drupal/Component/Plugin/PluginBase.php \Drupal\Component\Plugin\PluginBase::__construct()
Same name in other branches
- 9 core/modules/views/src/Plugin/views/PluginBase.php \Drupal\views\Plugin\views\PluginBase::__construct()
- 9 core/lib/Drupal/Component/Plugin/PluginBase.php \Drupal\Component\Plugin\PluginBase::__construct()
- 8.9.x core/modules/views/src/Plugin/views/PluginBase.php \Drupal\views\Plugin\views\PluginBase::__construct()
- 8.9.x core/lib/Drupal/Component/Plugin/PluginBase.php \Drupal\Component\Plugin\PluginBase::__construct()
- 10 core/modules/views/src/Plugin/views/PluginBase.php \Drupal\views\Plugin\views\PluginBase::__construct()
- 10 core/lib/Drupal/Component/Plugin/PluginBase.php \Drupal\Component\Plugin\PluginBase::__construct()
Constructs a PluginBase object.
Parameters
array $configuration: A configuration array containing information about the plugin instance.
string $plugin_id: The plugin ID for the plugin instance.
mixed $plugin_definition: The plugin implementation definition.
19 calls to PluginBase::__construct()
- CacheableMetadataCalculationTest::__construct in core/
modules/ views/ tests/ modules/ views_test_cacheable_metadata_calculation/ src/ Plugin/ views/ access/ CacheableMetadataCalculationTest.php - Constructs a CacheableMetadataCalculationTest access plugin.
- DataEntityRow::__construct in core/
modules/ rest/ src/ Plugin/ views/ row/ DataEntityRow.php - Constructs a new DataEntityRow object.
- DisplayPluginBase::__construct in core/
modules/ views/ src/ Plugin/ views/ display/ DisplayPluginBase.php - Constructs a new DisplayPluginBase object.
- Entity::__construct in core/
modules/ views/ src/ Plugin/ views/ argument_validator/ Entity.php - Constructs a \Drupal\views\Plugin\views\argument_validator\Entity object.
- EntityRow::__construct in core/
modules/ views/ src/ Plugin/ views/ row/ EntityRow.php - Constructs a new EntityRow object.
19 methods override PluginBase::__construct()
- CacheableMetadataCalculationTest::__construct in core/
modules/ views/ tests/ modules/ views_test_cacheable_metadata_calculation/ src/ Plugin/ views/ access/ CacheableMetadataCalculationTest.php - Constructs a CacheableMetadataCalculationTest access plugin.
- DataEntityRow::__construct in core/
modules/ rest/ src/ Plugin/ views/ row/ DataEntityRow.php - Constructs a new DataEntityRow object.
- DisplayPluginBase::__construct in core/
modules/ views/ src/ Plugin/ views/ display/ DisplayPluginBase.php - Constructs a new DisplayPluginBase object.
- Entity::__construct in core/
modules/ views/ src/ Plugin/ views/ argument_validator/ Entity.php - Constructs a \Drupal\views\Plugin\views\argument_validator\Entity object.
- EntityRow::__construct in core/
modules/ views/ src/ Plugin/ views/ row/ EntityRow.php - Constructs a new EntityRow object.
File
-
core/
modules/ views/ src/ Plugin/ views/ PluginBase.php, line 124
Class
- PluginBase
- Base class for any views plugin types.
Namespace
Drupal\views\Plugin\viewsCode
public function __construct(array $configuration, $plugin_id, $plugin_definition) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->definition = $plugin_definition + $configuration;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.