Search for valid

  1. Search 7.x for valid
  2. Search 8.9.x for valid
  3. Search 10.3.x for valid
  4. Search 11.x for valid
  5. Other projects
Title Object type File name Summary
ClassWithInvalidAnnotationTargetAtProperty::$foo property core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithInvalidAnnotationTargetAtProperty.php Plugin annotation
@AnnotationTargetClass("Bar");
ClassWithValidAnnotationTarget class core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithValidAnnotationTarget.php Plugin annotation
@AnnotationTargetClass("Some data");
ClassWithValidAnnotationTarget.php file core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithValidAnnotationTarget.php
ClassWithValidAnnotationTarget::$foo property core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithValidAnnotationTarget.php Plugin annotation
@AnnotationTargetPropertyMethod("Some data");
ClassWithValidAnnotationTarget::$name property core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithValidAnnotationTarget.php Plugin annotation

@AnnotationTargetAll("Some data",name="Some name")
ClassWithValidAnnotationTarget::$nested property core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithValidAnnotationTarget.php Plugin annotation
@AnnotationTargetAll(@AnnotationTargetAnnotation);
ClassWithValidAnnotationTarget::someFunction function core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithValidAnnotationTarget.php Plugin annotation

@AnnotationTargetPropertyMethod("Some data",name="Some name")
color.config_cache_invalidator service core/modules/color/color.services.yml Drupal\color\EventSubscriber\ColorConfigCacheInvalidator
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.
ColorConfigCacheInvalidator class core/modules/color/src/EventSubscriber/ColorConfigCacheInvalidator.php A subscriber invalidating cache tags when color config objects are saved.
ColorConfigCacheInvalidator.php file core/modules/color/src/EventSubscriber/ColorConfigCacheInvalidator.php
ColorConfigCacheInvalidator::$cacheTagsInvalidator property core/modules/color/src/EventSubscriber/ColorConfigCacheInvalidator.php The cache tags invalidator.
ColorConfigCacheInvalidator::getSubscribedEvents function core/modules/color/src/EventSubscriber/ColorConfigCacheInvalidator.php
ColorConfigCacheInvalidator::onChange function core/modules/color/src/EventSubscriber/ColorConfigCacheInvalidator.php Invalidate cache tags when a color theme config object changes.
ColorConfigCacheInvalidator::__construct function core/modules/color/src/EventSubscriber/ColorConfigCacheInvalidator.php Constructs a ColorConfigCacheInvalidator object.
ColorConfigSchemaTest::testValidColorConfigSchema function core/modules/color/tests/src/Functional/ColorConfigSchemaTest.php Tests whether the color config schema is valid.
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
ColorTest::testValidColor function core/modules/color/tests/src/Functional/ColorTest.php Tests whether the provided color is valid.
color_scheme_form_validate function core/modules/color/color.module Form validation handler for color_scheme_form().
color_valid_hexadecimal_string function core/modules/color/color.module Determines if a hexadecimal CSS color string is valid.
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::$context property core/modules/comment/src/Plugin/Validation/Constraint/CommentNameConstraintValidator.php Validator 2.5 and upwards compatible execution context.
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::validateReferenceableNewEntities function core/modules/comment/src/Plugin/EntityReferenceSelection/CommentSelection.php Validates which newly created entities can be referenced.
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.
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.
ComposerValidateTest class core/tests/Drupal/BuildTests/Composer/ComposerValidateTest.php @group Composer
@requires externalCommand composer
ComposerValidateTest.php file core/tests/Drupal/BuildTests/Composer/ComposerValidateTest.php
ComposerValidateTest::provideComposerJson function core/tests/Drupal/BuildTests/Composer/ComposerValidateTest.php

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