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
ConfigValidation::validateCats function core/modules/config/tests/config_test/src/ConfigValidation.php Validates cats.
ConfigValidation::validateGiraffes function core/modules/config/tests/config_test/src/ConfigValidation.php Validates giraffes.
ConfigValidation::validateLlama function core/modules/config/tests/config_test/src/ConfigValidation.php Validates a llama.
ConfigValidation::validateMapping function core/modules/config/tests/config_test/src/ConfigValidation.php Validates a mapping.
ConfigValidation::validateSequence function core/modules/config/tests/config_test/src/ConfigValidation.php Validates a sequence.
ConfigValidationTest class core/modules/config/tests/config_test/tests/src/Kernel/ConfigValidationTest.php Tests the UriHost validator.
ConfigValidationTest class core/tests/Drupal/KernelTests/Core/Recipe/ConfigValidationTest.php Tests Config Validation.
ConfigValidationTest.php file core/tests/Drupal/KernelTests/Core/Recipe/ConfigValidationTest.php
ConfigValidationTest.php file core/modules/config/tests/config_test/tests/src/Kernel/ConfigValidationTest.php
ConfigValidationTest::$modules property core/modules/config/tests/config_test/tests/src/Kernel/ConfigValidationTest.php Modules to install.
ConfigValidationTest::$strictConfigSchema property core/tests/Drupal/KernelTests/Core/Recipe/ConfigValidationTest.php This test depends on us being able to create invalid config, so we can
ensure that validatable config is validated by the recipe runner.
ConfigValidationTest::createRecipeWithInvalidDataInFile function core/tests/Drupal/KernelTests/Core/Recipe/ConfigValidationTest.php Creates a recipe with invalid config data in a particular file.
ConfigValidationTest::setUp function core/modules/config/tests/config_test/tests/src/Kernel/ConfigValidationTest.php
ConfigValidationTest::testValidatableConfigIsValidated function core/tests/Drupal/KernelTests/Core/Recipe/ConfigValidationTest.php Tests that the recipe runner only validates config which is validatable.
ConfigValidationTest::testValidationCallCount function core/modules/config/tests/config_test/tests/src/Kernel/ConfigValidationTest.php This test ensures that validation is not recursed too many times.
config_test.validation.yml file core/modules/config/tests/config_test/config/install/config_test.validation.yml core/modules/config/tests/config_test/config/install/config_test.validation.yml
ConstraintValidatorFactory class core/lib/Drupal/Core/Validation/ConstraintValidatorFactory.php Defines a constraint validator factory that works with container injection.
ConstraintValidatorFactory.php file core/lib/Drupal/Core/Validation/ConstraintValidatorFactory.php
ConstraintValidatorFactory::$classResolver property core/lib/Drupal/Core/Validation/ConstraintValidatorFactory.php The class resolver.
ConstraintValidatorFactory::getInstance function core/lib/Drupal/Core/Validation/ConstraintValidatorFactory.php
ConstraintValidatorFactory::__construct function core/lib/Drupal/Core/Validation/ConstraintValidatorFactory.php Constructs a new ConstraintValidatorFactory.
ConstraintViolationBuilder::setInvalidValue function core/lib/Drupal/Core/Validation/ConstraintViolationBuilder.php
ContactFormEditForm::$emailValidator property core/modules/contact/src/ContactFormEditForm.php The email validator.
ContactFormEditForm::$pathValidator property core/modules/contact/src/ContactFormEditForm.php The path validator.
ContactFormEditForm::validateForm function core/modules/contact/src/ContactFormEditForm.php Form validation handler.
ContactFormValidationTest class core/modules/contact/tests/src/Kernel/ContactFormValidationTest.php Tests validation of contact_form entities.
ContactFormValidationTest.php file core/modules/contact/tests/src/Kernel/ContactFormValidationTest.php
ContactFormValidationTest::$modules property core/modules/contact/tests/src/Kernel/ContactFormValidationTest.php Modules to install.
ContactFormValidationTest::setUp function core/modules/contact/tests/src/Kernel/ContactFormValidationTest.php
ContactFormValidationTest::testMessageValidation function core/modules/contact/tests/src/Kernel/ContactFormValidationTest.php Tests validation of message.
ContainerRebuildWebTest::testContainerInvalidation function core/modules/system/tests/src/Functional/DrupalKernel/ContainerRebuildWebTest.php Tests container invalidation.
ContainerTest::testResolveServicesAndParametersForInvalidArgument function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Tests that an invalid argument throw an Exception.
ContainerTest::testResolveServicesAndParametersForInvalidArguments function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Tests that invalid arguments throw an Exception.
ContentDispositionFilenameParserTest::invalidHeaderProvider function core/modules/file/tests/src/Unit/Upload/ContentDispositionFilenameParserTest.php A data provider for invalid headers.
ContentDispositionFilenameParserTest::testParseFilenameInvalid function core/modules/file/tests/src/Unit/Upload/ContentDispositionFilenameParserTest.php Tests parse filename invalid.
ContentEntityBase::$validated property core/lib/Drupal/Core/Entity/ContentEntityBase.php Whether entity validation was performed.
ContentEntityBase::$validationRequired property core/lib/Drupal/Core/Entity/ContentEntityBase.php Whether entity validation is required before saving the entity.
ContentEntityBase::isValidationRequired function core/lib/Drupal/Core/Entity/ContentEntityBase.php Checks whether entity validation is required before saving the entity.
ContentEntityBase::setValidationRequired function core/lib/Drupal/Core/Entity/ContentEntityBase.php Sets whether entity validation is required before saving the entity.
ContentEntityBase::validate function core/lib/Drupal/Core/Entity/ContentEntityBase.php Validates the currently set values.
ContentEntityBaseUnitTest::testRequiredValidation function core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php Tests required validation.
ContentEntityBaseUnitTest::testValidate function core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php Tests validate.
ContentEntityCacheTest::testCacheInvalidationOnSave function core/tests/Drupal/KernelTests/Core/Entity/ContentEntityCacheTest.php Tests that the correct caches are invalidated when an entity is saved.
ContentEntityConfirmFormBase::validateForm function core/lib/Drupal/Core/Entity/ContentEntityConfirmFormBase.php Button-level validation handlers are highly discouraged for entity forms,
as they will prevent entity validation from running. If the entity is going
to be saved during the form submission, this method should be manually
invoked from the button-level…
ContentEntityForm::validateForm function core/lib/Drupal/Core/Entity/ContentEntityForm.php Button-level validation handlers are highly discouraged for entity forms,
as they will prevent entity validation from running. If the entity is going
to be saved during the form submission, this method should be manually
invoked from the button-level…
ContentEntityFormFieldValidationFilteringTest class core/tests/Drupal/FunctionalTests/Entity/ContentEntityFormFieldValidationFilteringTest.php Tests field validation filtering on content entity forms.
ContentEntityFormFieldValidationFilteringTest.php file core/tests/Drupal/FunctionalTests/Entity/ContentEntityFormFieldValidationFilteringTest.php
ContentEntityFormFieldValidationFilteringTest::$defaultTheme property core/tests/Drupal/FunctionalTests/Entity/ContentEntityFormFieldValidationFilteringTest.php The theme to install as the default for testing.
ContentEntityFormFieldValidationFilteringTest::$entityTypeId property core/tests/Drupal/FunctionalTests/Entity/ContentEntityFormFieldValidationFilteringTest.php The ID of the type of the entity under test.
ContentEntityFormFieldValidationFilteringTest::$fieldNameFile property core/tests/Drupal/FunctionalTests/Entity/ContentEntityFormFieldValidationFilteringTest.php The name of the file field being tested with the entity type.

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