You are here

public function ArgumentDefaultPluginBase::getArgument in Drupal 8

Same name and namespace in other branches
  1. 9 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.

... See full list

File

core/modules/views/src/Plugin/views/argument_default/ArgumentDefaultPluginBase.php, line 45

Class

ArgumentDefaultPluginBase
The fixed argument default handler; also used as the base.

Namespace

Drupal\views\Plugin\views\argument_default

Code

public function getArgument() {
}