public function PluginBase::init

Initialize the plugin.

Parameters

\Drupal\views\ViewExecutable $view: The view object.

\Drupal\views\Plugin\views\display\DisplayPluginBase $display: The display handler.

array $options: The options configured for this plugin.

8 calls to PluginBase::init()
DataFieldRow::init in drupal/core/modules/rest/lib/Drupal/rest/Plugin/views/row/DataFieldRow.php
Overrides \Drupal\views\Plugin\views\row\RowPluginBase::init().
EntityRow::init in drupal/core/modules/views/lib/Drupal/views/Plugin/views/row/EntityRow.php
Initialize the plugin.
HandlerBase::init in drupal/core/modules/views/lib/Drupal/views/Plugin/views/HandlerBase.php
Overrides \Drupal\views\Plugin\views\PluginBase::init().
None::init in drupal/core/modules/views/lib/Drupal/views/Plugin/views/pager/None.php
Overrides \Drupal\views\Plugin\views\PluginBase::init().
Sql::init in drupal/core/modules/views/lib/Drupal/views/Plugin/views/query/Sql.php
Overrides \Drupal\views\Plugin\views\PluginBase::init().

... See full list

8 methods override PluginBase::init()
DataFieldRow::init in drupal/core/modules/rest/lib/Drupal/rest/Plugin/views/row/DataFieldRow.php
Overrides \Drupal\views\Plugin\views\row\RowPluginBase::init().
EntityRow::init in drupal/core/modules/views/lib/Drupal/views/Plugin/views/row/EntityRow.php
Initialize the plugin.
HandlerBase::init in drupal/core/modules/views/lib/Drupal/views/Plugin/views/HandlerBase.php
Overrides \Drupal\views\Plugin\views\PluginBase::init().
None::init in drupal/core/modules/views/lib/Drupal/views/Plugin/views/pager/None.php
Overrides \Drupal\views\Plugin\views\PluginBase::init().
Sql::init in drupal/core/modules/views/lib/Drupal/views/Plugin/views/query/Sql.php
Overrides \Drupal\views\Plugin\views\PluginBase::init().

... See full list

File

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

Class

PluginBase

Namespace

Drupal\views\Plugin\views

Code

public function init(ViewExecutable $view, DisplayPluginBase $display, array &$options = NULL) {
  $this
    ->setOptionDefaults($this->options, $this
    ->defineOptions());
  $this->view = $view;
  $this->displayHandler = $display;
  $this
    ->unpackOptions($this->options, $options);
}