function ArgumentValidatorPluginBase::validateArgument
Same name in other branches
- 9 core/modules/views/src/Plugin/views/argument_validator/ArgumentValidatorPluginBase.php \Drupal\views\Plugin\views\argument_validator\ArgumentValidatorPluginBase::validateArgument()
- 8.9.x core/modules/views/src/Plugin/views/argument_validator/ArgumentValidatorPluginBase.php \Drupal\views\Plugin\views\argument_validator\ArgumentValidatorPluginBase::validateArgument()
- 11.x core/modules/views/src/Plugin/views/argument_validator/ArgumentValidatorPluginBase.php \Drupal\views\Plugin\views\argument_validator\ArgumentValidatorPluginBase::validateArgument()
Performs validation for a given argument.
4 methods override ArgumentValidatorPluginBase::validateArgument()
- ArgumentValidatorTest::validateArgument in core/
modules/ views/ tests/ modules/ views_test_data/ src/ Plugin/ views/ argument_validator/ ArgumentValidatorTest.php - Entity::validateArgument in core/
modules/ views/ src/ Plugin/ views/ argument_validator/ Entity.php - None::validateArgument in core/
modules/ views/ src/ Plugin/ views/ argument_validator/ None.php - NumericArgumentValidator::validateArgument in core/
modules/ views/ src/ Plugin/ views/ argument_validator/ NumericArgumentValidator.php
File
-
core/
modules/ views/ src/ Plugin/ views/ argument_validator/ ArgumentValidatorPluginBase.php, line 105
Class
- ArgumentValidatorPluginBase
- Base argument validator plugin to provide basic functionality.
Namespace
Drupal\views\Plugin\views\argument_validatorCode
public function validateArgument($arg) {
return TRUE;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.