You are here

public function ArgumentValidatorPluginBase::validateArgument 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::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 99

Class

ArgumentValidatorPluginBase
Base argument validator plugin to provide basic functionality.

Namespace

Drupal\views\Plugin\views\argument_validator

Code

public function validateArgument($arg) {
  return TRUE;
}