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 10.3.x for valid
  5. Other projects
Title Object type File name Summary
ColorTest::testValidateHex function core/tests/Drupal/Tests/Component/Utility/ColorTest.php @legacy-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::$typedDataManager 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.
ComponentInFormTest::validateForm function core/tests/Drupal/KernelTests/Components/ComponentInFormTest.php Form validation handler.
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 Modules 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.
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 Modules to install.
ComponentRenderInvalidTest::$themes property core/tests/Drupal/KernelTests/Components/ComponentRenderInvalidTest.php Themes to install.
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::testRenderInvalidSlot function core/tests/Drupal/KernelTests/Components/ComponentRenderTest.php Ensure that the slots throw an error for invalid slots.
ComponentRenderTest::testRenderPropValidation 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.
ComponentsTwigExtension::validateProps function core/lib/Drupal/Core/Template/ComponentsTwigExtension.php Validates the props in development environments.
ComponentValidator class core/lib/Drupal/Core/Theme/Component/ComponentValidator.php Validates a component based on its definition and the component schema.

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