You are here

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

Overrides Drupal\views\Plugin\views\HandlerBase:init().

Overrides HandlerBase::init

4 calls to ArgumentPluginBase::init()
FieldList::init in lib/Views/field/Plugin/views/argument/FieldList.php
Overrides Drupal\views\Plugin\views\HandlerBase:init().
Formula::init in lib/Drupal/views/Plugin/views/argument/Formula.php
Overrides Drupal\views\Plugin\views\argument\ArgumentPluginBase::init().
ManyToOne::init in lib/Drupal/views/Plugin/views/argument/ManyToOne.php
Overrides Drupal\views\Plugin\views\HandlerBase:init().
String::init in lib/Drupal/views/Plugin/views/argument/String.php
Overrides Drupal\views\Plugin\views\HandlerBase:init().
4 methods override ArgumentPluginBase::init()
FieldList::init in lib/Views/field/Plugin/views/argument/FieldList.php
Overrides Drupal\views\Plugin\views\HandlerBase:init().
Formula::init in lib/Drupal/views/Plugin/views/argument/Formula.php
Overrides Drupal\views\Plugin\views\argument\ArgumentPluginBase::init().
ManyToOne::init in lib/Drupal/views/Plugin/views/argument/ManyToOne.php
Overrides Drupal\views\Plugin\views\HandlerBase:init().
String::init in lib/Drupal/views/Plugin/views/argument/String.php
Overrides Drupal\views\Plugin\views\HandlerBase:init().

File

lib/Drupal/views/Plugin/views/argument/ArgumentPluginBase.php, line 67
Definition of Drupal\views\Plugin\views\argument\ArgumentPluginBase.

Class

ArgumentPluginBase
Base class for arguments.

Namespace

Drupal\views\Plugin\views\argument

Code

public function init(ViewExecutable $view, &$options) {
  parent::init($view, $options);
  if (!empty($this->definition['name field'])) {
    $this->name_field = $this->definition['name field'];
  }
  if (!empty($this->definition['name table'])) {
    $this->name_table = $this->definition['name table'];
  }
}