You are here

public function ArgumentValidatorPluginBase::setArgument in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 54
Contains \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;
}