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
ClassResolverConstraintValidatorTest::setUp function core/tests/Drupal/KernelTests/Core/TypedData/ClassResolverConstraintValidatorTest.php
ClassResolverConstraintValidatorTest::testNonExistingClass function core/tests/Drupal/KernelTests/Core/TypedData/ClassResolverConstraintValidatorTest.php Test missing class case.
ClassResolverConstraintValidatorTest::testNonExistingMethod function core/tests/Drupal/KernelTests/Core/TypedData/ClassResolverConstraintValidatorTest.php Test missing method case.
ClassResolverConstraintValidatorTest::testValidationForService function core/tests/Drupal/KernelTests/Core/TypedData/ClassResolverConstraintValidatorTest.php @dataProvider provideServiceValidationCases
ClassWithInvalidAnnotationTargetAtClass class core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithInvalidAnnotationTargetAtClass.php Plugin annotation
@AnnotationTargetPropertyMethod("Some data");
ClassWithInvalidAnnotationTargetAtClass.php file core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithInvalidAnnotationTargetAtClass.php
ClassWithInvalidAnnotationTargetAtClass::$foo property core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithInvalidAnnotationTargetAtClass.php Plugin annotation
@AnnotationTargetPropertyMethod("Bar");
ClassWithInvalidAnnotationTargetAtMethod class core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithInvalidAnnotationTargetAtMethod.php Plugin annotation
@AnnotationTargetClass("Some data");
ClassWithInvalidAnnotationTargetAtMethod.php file core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithInvalidAnnotationTargetAtMethod.php
ClassWithInvalidAnnotationTargetAtMethod::functionName function core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithInvalidAnnotationTargetAtMethod.php Plugin annotation
@AnnotationTargetClass("functionName");
ClassWithInvalidAnnotationTargetAtProperty class core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithInvalidAnnotationTargetAtProperty.php Plugin annotation
@AnnotationTargetClass("Some data");
ClassWithInvalidAnnotationTargetAtProperty.php file core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithInvalidAnnotationTargetAtProperty.php
ClassWithInvalidAnnotationTargetAtProperty::$bar property core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithInvalidAnnotationTargetAtProperty.php Plugin annotation
@AnnotationTargetAnnotation("Foo");
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")
CodeBlock::validateConfigurationForm function core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/CodeBlock.php
CollectPathsToExcludeFailValidator class core/modules/package_manager/tests/modules/package_manager_test_validation/src/CollectPathsToExcludeFailValidator.php Allows to test an excluder which fails on CollectPathsToExcludeEvent.
CollectPathsToExcludeFailValidator.php file core/modules/package_manager/tests/modules/package_manager_test_validation/src/CollectPathsToExcludeFailValidator.php
CollectPathsToExcludeFailValidator::callToComposer function core/modules/package_manager/tests/modules/package_manager_test_validation/src/CollectPathsToExcludeFailValidator.php Fails when composer.json is deleted to simulate failure on excluders.
CollectPathsToExcludeFailValidator::getSubscribedEvents function core/modules/package_manager/tests/modules/package_manager_test_validation/src/CollectPathsToExcludeFailValidator.php
CollectPathsToExcludeFailValidator::__construct function core/modules/package_manager/tests/modules/package_manager_test_validation/src/CollectPathsToExcludeFailValidator.php Constructs a CollectPathsToExcludeFailValidator object.
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 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

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