public function PluginBase::__construct

Same name in this branch
  1. 8.x drupal/core/lib/Drupal/Component/Plugin/PluginBase.php \Drupal\Component\Plugin\PluginBase::__construct()
  2. 8.x drupal/core/modules/views/lib/Drupal/views/Plugin/views/PluginBase.php \Drupal\views\Plugin\views\PluginBase::__construct()

Constructs a Plugin object.

Overrides PluginBase::__construct

5 calls to PluginBase::__construct()
EntityRow::__construct in drupal/core/modules/views/lib/Drupal/views/Plugin/views/row/EntityRow.php
HandlerBase::__construct in drupal/core/modules/views/lib/Drupal/views/Plugin/views/HandlerBase.php
Constructs a Handler object.
Serializer::__construct in drupal/core/modules/rest/lib/Drupal/rest/Plugin/views/style/Serializer.php
Constructs a Plugin object.
Table::__construct in drupal/core/modules/views/lib/Drupal/views/Plugin/views/style/Table.php
Constructs a Table object.
WizardPluginBase::__construct in drupal/core/modules/views/lib/Drupal/views/Plugin/views/wizard/WizardPluginBase.php
Constructs a WizardPluginBase object.
5 methods override PluginBase::__construct()
EntityRow::__construct in drupal/core/modules/views/lib/Drupal/views/Plugin/views/row/EntityRow.php
HandlerBase::__construct in drupal/core/modules/views/lib/Drupal/views/Plugin/views/HandlerBase.php
Constructs a Handler object.
Serializer::__construct in drupal/core/modules/rest/lib/Drupal/rest/Plugin/views/style/Serializer.php
Constructs a Plugin object.
Table::__construct in drupal/core/modules/views/lib/Drupal/views/Plugin/views/style/Table.php
Constructs a Table object.
WizardPluginBase::__construct in drupal/core/modules/views/lib/Drupal/views/Plugin/views/wizard/WizardPluginBase.php
Constructs a WizardPluginBase object.

File

drupal/core/modules/views/lib/Drupal/views/Plugin/views/PluginBase.php, line 59
Definition of Drupal\views\Plugin\views\PluginBase.

Class

PluginBase

Namespace

Drupal\views\Plugin\views

Code

public function __construct(array $configuration, $plugin_id, array $plugin_definition) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->definition = $plugin_definition + $configuration;
}