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 - Performs validation for a given argument.
- Entity::validateArgument in core/
modules/ views/ src/ Plugin/ views/ argument_validator/ Entity.php - Performs validation for a given argument.
- None::validateArgument in core/
modules/ views/ src/ Plugin/ views/ argument_validator/ None.php - Performs validation for a given argument.
- NumericArgumentValidator::validateArgument in core/
modules/ views/ src/ Plugin/ views/ argument_validator/ NumericArgumentValidator.php - Performs validation for a given argument.
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.