You are here

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

Initialize this plugin with the view and the argument it is linked to.

1 call to ArgumentDefaultPluginBase::init()
Tid::init in lib/Views/taxonomy/Plugin/views/argument_default/Tid.php
Initialize this plugin with the view and the argument it is linked to.
1 method overrides ArgumentDefaultPluginBase::init()
Tid::init in lib/Views/taxonomy/Plugin/views/argument_default/Tid.php
Initialize this plugin with the view and the argument it is linked to.

File

lib/Drupal/views/Plugin/views/argument_default/ArgumentDefaultPluginBase.php, line 35
Definition of Drupal\views\Plugin\views\argument_default\ArgumentDefaultPluginBase.

Class

ArgumentDefaultPluginBase
The fixed argument default handler; also used as the base.

Namespace

Drupal\views\Plugin\views\argument_default

Code

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