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()
8 methods override PluginBase::init()

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);
}