function ArgumentDefaultPluginBase::setArgument
Same name in other branches
- 9 core/modules/views/src/Plugin/views/argument_default/ArgumentDefaultPluginBase.php \Drupal\views\Plugin\views\argument_default\ArgumentDefaultPluginBase::setArgument()
- 8.9.x core/modules/views/src/Plugin/views/argument_default/ArgumentDefaultPluginBase.php \Drupal\views\Plugin\views\argument_default\ArgumentDefaultPluginBase::setArgument()
- 11.x core/modules/views/src/Plugin/views/argument_default/ArgumentDefaultPluginBase.php \Drupal\views\Plugin\views\argument_default\ArgumentDefaultPluginBase::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_default/ ArgumentDefaultPluginBase.php, line 59
Class
- ArgumentDefaultPluginBase
- The fixed argument default handler; also used as the base.
Namespace
Drupal\views\Plugin\views\argument_defaultCode
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.