Search for valid

  1. Search 7.x for valid
  2. Search 9.5.x for valid
  3. Search 8.9.x for valid
  4. Search 11.x for valid
  5. Other projects
Title Object type File name Summary
ValidationTest::testPatternValidation function core/modules/system/tests/src/Functional/Form/ValidationTest.php Tests #pattern validation.
ValidationTest::testValidate function core/modules/system/tests/src/Functional/Form/ValidationTest.php Tests #element_validate and #validate.
ValidationTest::testValidateLimitErrors function core/modules/system/tests/src/Functional/Form/ValidationTest.php Tests partial form validation through #limit_validation_errors.
ValidatorsTest class core/modules/ckeditor5/tests/src/Kernel/ValidatorsTest.php @covers \Drupal\ckeditor5\Plugin\Validation\Constraint\ToolbarItemConstraintValidator
@covers \Drupal\ckeditor5\Plugin\Validation\Constraint\ToolbarItemDependencyConstraintValidator
@covers…
ValidatorsTest.php file core/modules/ckeditor5/tests/src/Kernel/ValidatorsTest.php
ValidatorsTest::$modules property core/modules/ckeditor5/tests/src/Kernel/ValidatorsTest.php Modules to install.
ValidatorsTest::$typedConfig property core/modules/ckeditor5/tests/src/Kernel/ValidatorsTest.php The typed config manager.
ValidatorsTest::provider function core/modules/ckeditor5/tests/src/Kernel/ValidatorsTest.php Provides a list of Text Editor config entities using CKEditor 5 to test.
ValidatorsTest::providerPair function core/modules/ckeditor5/tests/src/Kernel/ValidatorsTest.php Provides a list of Text Editor + Text Format pairs to test.
ValidatorsTest::setUp function core/modules/ckeditor5/tests/src/Kernel/ValidatorsTest.php
ValidatorsTest::test function core/modules/ckeditor5/tests/src/Kernel/ValidatorsTest.php @covers \Drupal\ckeditor5\Plugin\Validation\Constraint\CKEditor5ElementConstraintValidator
@covers \Drupal\ckeditor5\Plugin\Validation\Constraint\StyleSensibleElementConstraintValidator
@covers…
ValidatorsTest::testMultipleHtmlRestrictingFilters function core/modules/ckeditor5/tests/src/Kernel/ValidatorsTest.php Tests that validation works with >1 enabled HTML restrictor filters.
ValidatorsTest::testPair function core/modules/ckeditor5/tests/src/Kernel/ValidatorsTest.php @covers \Drupal\ckeditor5\Plugin\Validation\Constraint\SourceEditingPreventSelfXssConstraintValidator
@dataProvider providerPair
ValidConsumer class core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/TaggedHandlersPassTest.php
ValidConsumer::addHandler function core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/TaggedHandlersPassTest.php
ValidConsumer::addNoPriority function core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/TaggedHandlersPassTest.php
ValidConsumer::addWithId function core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/TaggedHandlersPassTest.php
ValidConsumerWithExtraArguments class core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/TaggedHandlersPassTest.php
ValidConsumerWithExtraArguments::addHandler function core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/TaggedHandlersPassTest.php
ValidConsumerWithExtraArguments::addNoPriority function core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/TaggedHandlersPassTest.php
ValidConsumerWithExtraArguments::addWithDifferentOrder function core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/TaggedHandlersPassTest.php
ValidConsumerWithExtraArguments::addWithId function core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/TaggedHandlersPassTest.php
ValidHandler class core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/TaggedHandlersPassTest.php
ValidKeysConstraint class core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/ValidKeysConstraint.php Checks that all the keys of a mapping are valid and required keys present.
ValidKeysConstraint.php file core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/ValidKeysConstraint.php
ValidKeysConstraint::$allowedKeys property core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/ValidKeysConstraint.php Keys which are allowed in the validated array, or `<infer>` to auto-detect.
ValidKeysConstraint::$dynamicInvalidKeyMessage property core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/ValidKeysConstraint.php The error message if a key is unknown for the resolved type.
ValidKeysConstraint::$dynamicMissingRequiredKeyMessage property core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/ValidKeysConstraint.php The error message if a dynamically required key is missing.
ValidKeysConstraint::$indexedArrayMessage property core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/ValidKeysConstraint.php The error message if the array being validated is a list.
ValidKeysConstraint::$invalidKeyMessage property core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/ValidKeysConstraint.php The error message if a key is invalid.
ValidKeysConstraint::$missingRequiredKeyMessage property core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/ValidKeysConstraint.php The error message if a key is missing.
ValidKeysConstraint::getAllowedKeys function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/ValidKeysConstraint.php Returns the list of valid keys.
ValidKeysConstraint::getDefaultOption function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/ValidKeysConstraint.php @todo Add method return type declaration.
ValidKeysConstraint::getRequiredOptions function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/ValidKeysConstraint.php @todo Add method return type declaration.
ValidKeysConstraintValidator class core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/ValidKeysConstraintValidator.php Validates the ValidKeys constraint.
ValidKeysConstraintValidator.php file core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/ValidKeysConstraintValidator.php
ValidKeysConstraintValidator::getDynamicMessageParameters function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/ValidKeysConstraintValidator.php Computes message parameters for dynamic type violations.
ValidKeysConstraintValidator::validate function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/ValidKeysConstraintValidator.php
ValidKeysConstraintValidatorTest class core/tests/Drupal/KernelTests/Core/TypedData/ValidKeysConstraintValidatorTest.php Tests the ValidKeys validation constraint.
ValidKeysConstraintValidatorTest.php file core/tests/Drupal/KernelTests/Core/TypedData/ValidKeysConstraintValidatorTest.php
ValidKeysConstraintValidatorTest::$config property core/tests/Drupal/KernelTests/Core/TypedData/ValidKeysConstraintValidatorTest.php The typed config under test.
ValidKeysConstraintValidatorTest::assertValidationErrors function core/tests/Drupal/KernelTests/Core/TypedData/ValidKeysConstraintValidatorTest.php Asserts a set of validation errors is raised when the config is validated.
ValidKeysConstraintValidatorTest::setUp function core/tests/Drupal/KernelTests/Core/TypedData/ValidKeysConstraintValidatorTest.php
ValidKeysConstraintValidatorTest::testBothUnknownAndDynamicallyRequiredKeys function core/tests/Drupal/KernelTests/Core/TypedData/ValidKeysConstraintValidatorTest.php Tests detecting both unknown and required keys.
ValidKeysConstraintValidatorTest::testDynamicallyRequiredKeys function core/tests/Drupal/KernelTests/Core/TypedData/ValidKeysConstraintValidatorTest.php Tests detecting missing dynamically required keys.
ValidKeysConstraintValidatorTest::testMarkedAsOptional function core/tests/Drupal/KernelTests/Core/TypedData/ValidKeysConstraintValidatorTest.php Tests ValidKeys constraint validator detecting optional keys.
ValidKeysConstraintValidatorTest::testRequiredKeys function core/tests/Drupal/KernelTests/Core/TypedData/ValidKeysConstraintValidatorTest.php Tests detecting missing required keys.
ValidKeysConstraintValidatorTest::testSupportedKeys function core/tests/Drupal/KernelTests/Core/TypedData/ValidKeysConstraintValidatorTest.php Tests detecting unsupported keys.
ValidKeysConstraintValidatorTest::testUnknownKeys function core/tests/Drupal/KernelTests/Core/TypedData/ValidKeysConstraintValidatorTest.php Tests detecting unknown keys.
ValidKeysConstraintValidatorTest::testValidation function core/tests/Drupal/KernelTests/Core/TypedData/ValidKeysConstraintValidatorTest.php Tests the ValidKeys constraint validator.

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