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. Search main for valid
  6. Other projects
Title Object type File name Summary
Color::validateColor function core/lib/Drupal/Core/Render/Element/Color.php Form element validation handler for #type 'color'.
Color::validateHex function core/lib/Drupal/Component/Utility/Color.php Validates whether a hexadecimal color value is syntactically correct.
ColorTest::providerTestValidateHex function core/tests/Drupal/Tests/Component/Utility/ColorTest.php Provides data for testValidateHex().
ColorTest::testValidateHex function core/tests/Drupal/Tests/Component/Utility/ColorTest.php @covers \Drupal\Component\Utility\Color::validateHex[[api-linebreak]]
Combine::validate function core/modules/views/src/Plugin/views/filter/Combine.php
CommentAdminOverview::validateForm function core/modules/comment/src/Form/CommentAdminOverview.php
CommentNameConstraintValidator class core/modules/comment/src/Plugin/Validation/Constraint/CommentNameConstraintValidator.php Validates the CommentName constraint.
CommentNameConstraintValidator.php file core/modules/comment/src/Plugin/Validation/Constraint/CommentNameConstraintValidator.php
CommentNameConstraintValidator::$userStorage property core/modules/comment/src/Plugin/Validation/Constraint/CommentNameConstraintValidator.php User storage handler.
CommentNameConstraintValidator::create function core/modules/comment/src/Plugin/Validation/Constraint/CommentNameConstraintValidator.php
CommentNameConstraintValidator::getAnonymousContactDetailsSetting function core/modules/comment/src/Plugin/Validation/Constraint/CommentNameConstraintValidator.php Gets the anonymous contact details setting from the comment.
CommentNameConstraintValidator::validate function core/modules/comment/src/Plugin/Validation/Constraint/CommentNameConstraintValidator.php
CommentNameConstraintValidator::__construct function core/modules/comment/src/Plugin/Validation/Constraint/CommentNameConstraintValidator.php Constructs a new CommentNameConstraintValidator.
CommentSelection::validateReferenceableEntities function core/modules/comment/src/Plugin/EntityReferenceSelection/CommentSelection.php
CommentSelection::validateReferenceableNewEntities function core/modules/comment/src/Plugin/EntityReferenceSelection/CommentSelection.php
CommentTypeValidationTest class core/modules/comment/tests/src/Kernel/CommentTypeValidationTest.php Tests validation of comment_type entities.
CommentTypeValidationTest.php file core/modules/comment/tests/src/Kernel/CommentTypeValidationTest.php
CommentTypeValidationTest::$modules property core/modules/comment/tests/src/Kernel/CommentTypeValidationTest.php
CommentTypeValidationTest::setUp function core/modules/comment/tests/src/Kernel/CommentTypeValidationTest.php
CommentValidationTest class core/modules/comment/tests/src/Kernel/CommentValidationTest.php Tests comment validation constraints.
CommentValidationTest.php file core/modules/comment/tests/src/Kernel/CommentValidationTest.php
CommentValidationTest::$modules property core/modules/comment/tests/src/Kernel/CommentValidationTest.php
CommentValidationTest::assertLengthViolation function core/modules/comment/tests/src/Kernel/CommentValidationTest.php Verifies that a length violation exists for the given field.
CommentValidationTest::setUp function core/modules/comment/tests/src/Kernel/CommentValidationTest.php
CommentValidationTest::testValidation function core/modules/comment/tests/src/Kernel/CommentValidationTest.php Tests the comment validation constraints.
CommentValidationTest::testValidationOfCommentOfUnpublishedNode function core/modules/comment/tests/src/Kernel/CommentValidationTest.php Tests that comments of unpublished nodes are not valid.
ComplexDataConstraintValidator class core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/ComplexDataConstraintValidator.php Validates complex data.
ComplexDataConstraintValidator.php file core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/ComplexDataConstraintValidator.php
ComplexDataConstraintValidator::validate function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/ComplexDataConstraintValidator.php
ComplexDataConstraintValidatorTest class core/tests/Drupal/KernelTests/Core/TypedData/ComplexDataConstraintValidatorTest.php Tests ComplexData validation with both valid and invalid values.
ComplexDataConstraintValidatorTest.php file core/tests/Drupal/KernelTests/Core/TypedData/ComplexDataConstraintValidatorTest.php
ComplexDataConstraintValidatorTest::$typedData property core/tests/Drupal/KernelTests/Core/TypedData/ComplexDataConstraintValidatorTest.php The typed data manager to use.
ComplexDataConstraintValidatorTest::setUp function core/tests/Drupal/KernelTests/Core/TypedData/ComplexDataConstraintValidatorTest.php
ComplexDataConstraintValidatorTest::testValidation function core/tests/Drupal/KernelTests/Core/TypedData/ComplexDataConstraintValidatorTest.php Tests the ComplexData validation constraint validator.
ComponentInvalidReplacementTest class core/tests/Drupal/KernelTests/Components/ComponentInvalidReplacementTest.php Tests invalid render options for components.
ComponentInvalidReplacementTest.php file core/tests/Drupal/KernelTests/Components/ComponentInvalidReplacementTest.php
ComponentInvalidReplacementTest::$modules property core/tests/Drupal/KernelTests/Components/ComponentInvalidReplacementTest.php
ComponentInvalidReplacementTest::$themes property core/tests/Drupal/KernelTests/Components/ComponentInvalidReplacementTest.php
ComponentInvalidReplacementTest::testInvalidDefinitionTheme function core/tests/Drupal/KernelTests/Components/ComponentInvalidReplacementTest.php Ensure that component replacement validates the schema compatibility.
ComponentNodeVisitor::validateSlots function core/lib/Drupal/Core/Template/ComponentNodeVisitor.php Performs a cheap validation of the slots in the template.
ComponentPluginManager::isValidDefinition function core/lib/Drupal/Core/Theme/ComponentPluginManager.php Validates the metadata info.
ComponentRenderInvalidTest class core/tests/Drupal/KernelTests/Components/ComponentRenderInvalidTest.php Tests invalid render options for components.
ComponentRenderInvalidTest.php file core/tests/Drupal/KernelTests/Components/ComponentRenderInvalidTest.php
ComponentRenderInvalidTest::$modules property core/tests/Drupal/KernelTests/Components/ComponentRenderInvalidTest.php
ComponentRenderInvalidTest::$themes property core/tests/Drupal/KernelTests/Components/ComponentRenderInvalidTest.php
ComponentRenderInvalidTest::testInvalidDefinitionModule function core/tests/Drupal/KernelTests/Components/ComponentRenderInvalidTest.php Ensure that components in modules without schema fail validation.
ComponentRenderInvalidTest::testInvalidDefinitionTheme function core/tests/Drupal/KernelTests/Components/ComponentRenderInvalidTest.php Ensure that components in modules without schema fail validation.
ComponentRenderTest::checkInvalidSlot function core/tests/Drupal/KernelTests/Components/ComponentRenderTest.php Ensure that the slots throw an error for invalid slots.
ComponentRenderTest::checkPropValidation function core/tests/Drupal/KernelTests/Components/ComponentRenderTest.php Ensures the schema violations are reported properly.
ComponentsTwigExtension::doValidateProps function core/lib/Drupal/Core/Template/ComponentsTwigExtension.php Performs the actual validation of the schema for the props.

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