You are here

public function ExposedFormPluginBase::init in Views (for Drupal 7) 8.3

Initialize the plugin.

Parameters

$view: The view object.

$display: The display handler.

File

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