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
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
Combine::validate function core/modules/views/src/Plugin/views/filter/Combine.php Validate that the plugin is correct and can be saved.
CommentAdminOverview::validateForm function core/modules/comment/src/Form/CommentAdminOverview.php Form validation handler.
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 Instantiates a new instance of this class.
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 Validates which existing entities can be referenced.
CommentSelection::validateReferenceableNewEntities function core/modules/comment/src/Plugin/EntityReferenceSelection/CommentSelection.php Validates which newly created entities can be referenced.
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 Modules to install.
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 Modules to install.
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 class core/modules/sdc/tests/src/Kernel/ComponentInvalidReplacementTest.php Tests invalid render options for components.
ComponentInvalidReplacementTest.php file core/modules/sdc/tests/src/Kernel/ComponentInvalidReplacementTest.php
ComponentInvalidReplacementTest.php file core/tests/Drupal/KernelTests/Components/ComponentInvalidReplacementTest.php
ComponentInvalidReplacementTest::$modules property core/tests/Drupal/KernelTests/Components/ComponentInvalidReplacementTest.php Modules to install.
ComponentInvalidReplacementTest::$modules property core/modules/sdc/tests/src/Kernel/ComponentInvalidReplacementTest.php Modules to enable.
ComponentInvalidReplacementTest::$themes property core/modules/sdc/tests/src/Kernel/ComponentInvalidReplacementTest.php Themes to install.
ComponentInvalidReplacementTest::$themes property core/tests/Drupal/KernelTests/Components/ComponentInvalidReplacementTest.php Themes to install.
ComponentInvalidReplacementTest::testInvalidDefinitionTheme function core/tests/Drupal/KernelTests/Components/ComponentInvalidReplacementTest.php Ensure that component replacement validates the schema compatibility.
ComponentInvalidReplacementTest::testInvalidDefinitionTheme function core/modules/sdc/tests/src/Kernel/ComponentInvalidReplacementTest.php Ensure that component replacement validates the schema compatibility.
ComponentNodeVisitor::validateSlots function core/modules/sdc/src/Twig/ComponentNodeVisitor.php Performs a cheap validation of the slots in the template.
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.
ComponentPluginManager::isValidDefinition function core/modules/sdc/src/ComponentPluginManager.php Validates the metadata info.
ComponentRenderInvalidTest class core/modules/sdc/tests/src/Kernel/ComponentRenderInvalidTest.php Tests invalid render options for components.
ComponentRenderInvalidTest class core/tests/Drupal/KernelTests/Components/ComponentRenderInvalidTest.php Tests invalid render options for components.

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