public function ExposedFormPluginBase::init

Initialize the plugin.

Parameters

$view: The view object.

$display: The display handler.

File

drupal/core/modules/views/lib/Drupal/views/Plugin/views/exposed_form/ExposedFormPluginBase.php, line 39
Definition of Drupal\views\Plugin\views\exposed_form\ExposedFormPluginBase.

Class

ExposedFormPluginBase
The base plugin to handle exposed filter forms.

Namespace

Drupal\views\Plugin\views\exposed_form

Code

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