function ArgumentDefaultPluginBase::getArgument
Same name in other branches
- 9 core/modules/views/src/Plugin/views/argument_default/ArgumentDefaultPluginBase.php \Drupal\views\Plugin\views\argument_default\ArgumentDefaultPluginBase::getArgument()
- 8.9.x core/modules/views/src/Plugin/views/argument_default/ArgumentDefaultPluginBase.php \Drupal\views\Plugin\views\argument_default\ArgumentDefaultPluginBase::getArgument()
- 10 core/modules/views/src/Plugin/views/argument_default/ArgumentDefaultPluginBase.php \Drupal\views\Plugin\views\argument_default\ArgumentDefaultPluginBase::getArgument()
Return the default argument.
This needs to be overridden by every default argument handler to properly do what is needed.
8 methods override ArgumentDefaultPluginBase::getArgument()
- ArgumentDefaultTest::getArgument in core/
modules/ views/ tests/ modules/ views_test_data/ src/ Plugin/ views/ argument_default/ ArgumentDefaultTest.php - Return the default argument.
- CurrentUser::getArgument in core/
modules/ user/ src/ Plugin/ views/ argument_default/ CurrentUser.php - Return the default argument.
- Fixed::getArgument in core/
modules/ views/ src/ Plugin/ views/ argument_default/ Fixed.php - Return the default argument.
- Node::getArgument in core/
modules/ node/ src/ Plugin/ views/ argument_default/ Node.php - Return the default argument.
- QueryParameter::getArgument in core/
modules/ views/ src/ Plugin/ views/ argument_default/ QueryParameter.php - Return the default argument.
File
-
core/
modules/ views/ src/ Plugin/ views/ argument_default/ ArgumentDefaultPluginBase.php, line 51
Class
- ArgumentDefaultPluginBase
- The fixed argument default handler; also used as the base.
Namespace
Drupal\views\Plugin\views\argument_defaultCode
public function getArgument() {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.