public function PluginBase::__construct in Drupal 8
Same name in this branch
- 8 core/lib/Drupal/Component/Plugin/PluginBase.php \Drupal\Component\Plugin\PluginBase::__construct()
- 8 core/modules/views/src/Plugin/views/PluginBase.php \Drupal\views\Plugin\views\PluginBase::__construct()
Same name and namespace in other branches
- 9 core/modules/views/src/Plugin/views/PluginBase.php \Drupal\views\Plugin\views\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.
Overrides PluginBase::__construct
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 an \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 an \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 121
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;
}