public function ArgumentPluginBase::init

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

Overrides HandlerBase::init

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

File

drupal/core/modules/views/lib/Drupal/views/Plugin/views/argument/ArgumentPluginBase.php, line 69
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, DisplayPluginBase $display, array &$options = NULL) {
  parent::init($view, $display, $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'];
  }
}