You are here

public function AccessPluginBase::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/access/AccessPluginBase.php, line 35
Definition of Drupal\views\Plugin\views\access\AccessPluginBase.

Class

AccessPluginBase
The base plugin to handle access control.

Namespace

Drupal\views\Plugin\views\access

Code

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