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
- 
              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.