Search for validator

  1. Search 7.x for validator
  2. Search 9.5.x for validator
  3. Search 10.3.x for validator
  4. Search 11.x for validator
  5. Other projects
Title Object type File name Summary
AllowedValuesConstraintValidator class core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/AllowedValuesConstraintValidator.php Validates the AllowedValues constraint.
AllowedValuesConstraintValidator.php file core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/AllowedValuesConstraintValidator.php
AllowedValuesConstraintValidator::$currentUser property core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/AllowedValuesConstraintValidator.php The current user.
AllowedValuesConstraintValidator::create function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/AllowedValuesConstraintValidator.php
AllowedValuesConstraintValidator::validate function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/AllowedValuesConstraintValidator.php
AllowedValuesConstraintValidator::__construct function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/AllowedValuesConstraintValidator.php Constructs a new AllowedValuesConstraintValidator.
AllowedValuesConstraintValidatorTest class core/tests/Drupal/KernelTests/Core/TypedData/AllowedValuesConstraintValidatorTest.php Tests AllowedValues validation constraint with both valid and invalid values.
AllowedValuesConstraintValidatorTest.php file core/tests/Drupal/KernelTests/Core/TypedData/AllowedValuesConstraintValidatorTest.php
AllowedValuesConstraintValidatorTest::$typedData property core/tests/Drupal/KernelTests/Core/TypedData/AllowedValuesConstraintValidatorTest.php The typed data manager to use.
AllowedValuesConstraintValidatorTest::allowedValueCallback function core/tests/Drupal/KernelTests/Core/TypedData/AllowedValuesConstraintValidatorTest.php An AllowedValueConstraint callback.
AllowedValuesConstraintValidatorTest::setUp function core/tests/Drupal/KernelTests/Core/TypedData/AllowedValuesConstraintValidatorTest.php
AllowedValuesConstraintValidatorTest::testValidation function core/tests/Drupal/KernelTests/Core/TypedData/AllowedValuesConstraintValidatorTest.php Tests the AllowedValues validation constraint validator.
AllowedValuesConstraintValidatorTest::testValidationCallback function core/tests/Drupal/KernelTests/Core/TypedData/AllowedValuesConstraintValidatorTest.php Tests the AllowedValuesConstraintValidator with callbacks.
AllowedValuesConstraintValidatorTest::testValidationCallbackException function core/tests/Drupal/KernelTests/Core/TypedData/AllowedValuesConstraintValidatorTest.php Tests the AllowedValuesConstraintValidator with an invalid callback.
ArgumentPluginBase::$validator property core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php
ArgumentPluginBase::decodeValidatorId function core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php Revert sanitized validator options.
ArgumentPluginBase::encodeValidatorId function core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php Sanitize validator options including derivatives with : for js.
ArgumentValidatorPluginBase class core/modules/views/src/Plugin/views/argument_validator/ArgumentValidatorPluginBase.php Base argument validator plugin to provide basic functionality.
ArgumentValidatorPluginBase.php file core/modules/views/src/Plugin/views/argument_validator/ArgumentValidatorPluginBase.php
ArgumentValidatorPluginBase::$argument property core/modules/views/src/Plugin/views/argument_validator/ArgumentValidatorPluginBase.php The argument handler instance associated with this plugin.
ArgumentValidatorPluginBase::access function core/modules/views/src/Plugin/views/argument_validator/ArgumentValidatorPluginBase.php Determines if the administrator has the privileges to use this plugin.
ArgumentValidatorPluginBase::buildOptionsForm function core/modules/views/src/Plugin/views/argument_validator/ArgumentValidatorPluginBase.php Provides the default form for setting options.
ArgumentValidatorPluginBase::checkAccess function core/modules/views/src/Plugin/views/argument_validator/ArgumentValidatorPluginBase.php Blocks user input when the form is shown but we don´t have access.
ArgumentValidatorPluginBase::defineOptions function core/modules/views/src/Plugin/views/argument_validator/ArgumentValidatorPluginBase.php Retrieves the options when this is a new access control plugin.
ArgumentValidatorPluginBase::getContextDefinition function core/modules/views/src/Plugin/views/argument_validator/ArgumentValidatorPluginBase.php Returns a context definition for this argument.
ArgumentValidatorPluginBase::processSummaryArguments function core/modules/views/src/Plugin/views/argument_validator/ArgumentValidatorPluginBase.php Processes the summary arguments for displaying.
ArgumentValidatorPluginBase::setArgument function core/modules/views/src/Plugin/views/argument_validator/ArgumentValidatorPluginBase.php Sets the parent argument this plugin is associated with.
ArgumentValidatorPluginBase::submitOptionsForm function core/modules/views/src/Plugin/views/argument_validator/ArgumentValidatorPluginBase.php Provides the default form for submitting options.
ArgumentValidatorPluginBase::validateArgument function core/modules/views/src/Plugin/views/argument_validator/ArgumentValidatorPluginBase.php Performs validation for a given argument.
ArgumentValidatorPluginBase::validateOptionsForm function core/modules/views/src/Plugin/views/argument_validator/ArgumentValidatorPluginBase.php Provides the default form for validating options.
ArgumentValidatorTermTest class core/modules/taxonomy/tests/src/Kernel/Views/ArgumentValidatorTermTest.php Tests the plugin of the taxonomy: term argument validator.
ArgumentValidatorTermTest.php file core/modules/taxonomy/tests/src/Kernel/Views/ArgumentValidatorTermTest.php
ArgumentValidatorTermTest::$ids property core/modules/taxonomy/tests/src/Kernel/Views/ArgumentValidatorTermTest.php Stores the taxonomy IDs used by this test.
ArgumentValidatorTermTest::$names property core/modules/taxonomy/tests/src/Kernel/Views/ArgumentValidatorTermTest.php Stores the taxonomy names used by this test.
ArgumentValidatorTermTest::$terms property core/modules/taxonomy/tests/src/Kernel/Views/ArgumentValidatorTermTest.php Stores the taxonomy term used by this test.
ArgumentValidatorTermTest::$testViews property core/modules/taxonomy/tests/src/Kernel/Views/ArgumentValidatorTermTest.php
ArgumentValidatorTermTest::setUp function core/modules/taxonomy/tests/src/Kernel/Views/ArgumentValidatorTermTest.php
ArgumentValidatorTermTest::testArgumentValidatorTerm function core/modules/taxonomy/tests/src/Kernel/Views/ArgumentValidatorTermTest.php Tests the term argument validator plugin.
ArgumentValidatorTest class core/modules/views/tests/src/Kernel/Plugin/ArgumentValidatorTest.php Tests Views argument validators.
ArgumentValidatorTest class core/modules/views_ui/tests/src/Functional/ArgumentValidatorTest.php Tests the Argument validator through the UI.
ArgumentValidatorTest class core/modules/views/tests/modules/views_test_data/src/Plugin/views/argument_validator/ArgumentValidatorTest.php Defines a argument validator test plugin.
ArgumentValidatorTest.php file core/modules/views/tests/modules/views_test_data/src/Plugin/views/argument_validator/ArgumentValidatorTest.php
ArgumentValidatorTest.php file core/modules/views_ui/tests/src/Functional/ArgumentValidatorTest.php
ArgumentValidatorTest.php file core/modules/views/tests/src/Kernel/Plugin/ArgumentValidatorTest.php
ArgumentValidatorTest::$defaultTheme property core/modules/views_ui/tests/src/Functional/ArgumentValidatorTest.php
ArgumentValidatorTest::$testViews property core/modules/views/tests/src/Kernel/Plugin/ArgumentValidatorTest.php Views used by this test.
ArgumentValidatorTest::$testViews property core/modules/views_ui/tests/src/Functional/ArgumentValidatorTest.php Views used by this test.
ArgumentValidatorTest::calculateDependencies function core/modules/views/tests/modules/views_test_data/src/Plugin/views/argument_validator/ArgumentValidatorTest.php
ArgumentValidatorTest::defineOptions function core/modules/views/tests/modules/views_test_data/src/Plugin/views/argument_validator/ArgumentValidatorTest.php
ArgumentValidatorTest::saveArgumentHandlerWithValidationOptions function core/modules/views_ui/tests/src/Functional/ArgumentValidatorTest.php Saves the test_argument view with changes made to the argument handler
both with and without specify_validation turned on.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.