function ArgumentValidatorPluginBase::setArgument
Same name in other branches
- 9 core/modules/views/src/Plugin/views/argument_validator/ArgumentValidatorPluginBase.php \Drupal\views\Plugin\views\argument_validator\ArgumentValidatorPluginBase::setArgument()
- 8.9.x core/modules/views/src/Plugin/views/argument_validator/ArgumentValidatorPluginBase.php \Drupal\views\Plugin\views\argument_validator\ArgumentValidatorPluginBase::setArgument()
- 10 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 55
Class
- ArgumentValidatorPluginBase
- Base argument validator plugin to provide basic functionality.
Namespace
Drupal\views\Plugin\views\argument_validatorCode
public function setArgument(ArgumentPluginBase $argument) {
$this->argument = $argument;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.