function ArgumentValidatorPluginBase::getContextDefinition
Same name in other branches
- 8.9.x core/modules/views/src/Plugin/views/argument_validator/ArgumentValidatorPluginBase.php \Drupal\views\Plugin\views\argument_validator\ArgumentValidatorPluginBase::getContextDefinition()
- 10 core/modules/views/src/Plugin/views/argument_validator/ArgumentValidatorPluginBase.php \Drupal\views\Plugin\views\argument_validator\ArgumentValidatorPluginBase::getContextDefinition()
- 11.x 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_validatorCode
public function getContextDefinition() {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.