function ArgumentDefaultPluginBase::getArgument

Same name in other branches
  1. 9 core/modules/views/src/Plugin/views/argument_default/ArgumentDefaultPluginBase.php \Drupal\views\Plugin\views\argument_default\ArgumentDefaultPluginBase::getArgument()
  2. 8.9.x core/modules/views/src/Plugin/views/argument_default/ArgumentDefaultPluginBase.php \Drupal\views\Plugin\views\argument_default\ArgumentDefaultPluginBase::getArgument()
  3. 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
CurrentUser::getArgument in core/modules/user/src/Plugin/views/argument_default/CurrentUser.php
Fixed::getArgument in core/modules/views/src/Plugin/views/argument_default/Fixed.php
Node::getArgument in core/modules/node/src/Plugin/views/argument_default/Node.php
QueryParameter::getArgument in core/modules/views/src/Plugin/views/argument_default/QueryParameter.php

... See full list

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_default

Code

public function getArgument() {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.