You are here

public function ArgumentValidatorPluginBase::getContextDefinition in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/views/src/Plugin/views/argument_validator/ArgumentValidatorPluginBase.php \Drupal\views\Plugin\views\argument_validator\ArgumentValidatorPluginBase::getContextDefinition()

Returns a context definition for this argument.

Return value

\Drupal\Core\Plugin\Context\ContextDefinitionInterface|null A context definition that represents the argument or NULL if that is not possible.

2 methods override ArgumentValidatorPluginBase::getContextDefinition()
Entity::getContextDefinition in core/modules/views/src/Plugin/views/argument_validator/Entity.php
Returns a context definition for this argument.
NumericArgumentValidator::getContextDefinition in core/modules/views/src/Plugin/views/argument_validator/NumericArgumentValidator.php
Returns a context definition for this argument.

File

core/modules/views/src/Plugin/views/argument_validator/ArgumentValidatorPluginBase.php, line 120

Class

ArgumentValidatorPluginBase
Base argument validator plugin to provide basic functionality.

Namespace

Drupal\views\Plugin\views\argument_validator

Code

public function getContextDefinition() {
}