public function ArgumentValidatorPluginBase::setArgument

Sets the parent argument this plugin is associated with.

Parameters

\Drupal\views\Plugin\views\argument\ArgumentPluginBase $argument: The parent argument to set.

File

drupal/core/modules/views/lib/Drupal/views/Plugin/views/argument_validator/ArgumentValidatorPluginBase.php, line 38
Definition of Drupal\views\Plugin\views\argument_validator\ArgumentValidatorPluginBase.

Class

ArgumentValidatorPluginBase
Base argument validator plugin to provide basic functionality.

Namespace

Drupal\views\Plugin\views\argument_validator

Code

public function setArgument(ArgumentPluginBase $argument) {
  $this->argument = $argument;
}