You are here

public function ArgumentValidatorPluginBase::setArgument in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/views/src/Plugin/views/argument_validator/ArgumentValidatorPluginBase.php \Drupal\views\Plugin\views\argument_validator\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

core/modules/views/src/Plugin/views/argument_validator/ArgumentValidatorPluginBase.php, line 49

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;
}