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
PrecedingConstraintAwareValidatorTrait.php file core/modules/ckeditor5/src/Plugin/Validation/Constraint/PrecedingConstraintAwareValidatorTrait.php
PrecedingConstraintAwareValidatorTrait::getPrecedingConstraints function core/modules/ckeditor5/src/Plugin/Validation/Constraint/PrecedingConstraintAwareValidatorTrait.php Gets the constraints preceding the given constraint in the current context.
PrecedingConstraintAwareValidatorTrait::hasViolationsForPrecedingConstraints function core/modules/ckeditor5/src/Plugin/Validation/Constraint/PrecedingConstraintAwareValidatorTrait.php Checks whether any preceding constraints have been violated.
PrepareCallbackTestForm::validateForm function core/tests/Drupal/Tests/Core/Form/FormStateTest.php Form validation handler.
PreprocessPagerTest::testPaginationHeadingLevelInvalid function core/modules/system/tests/src/Unit/Pager/PreprocessPagerTest.php Test template_preprocess_pager() with an invalid #pagination_heading_level.
PrimitiveTypeConstraintValidator class core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/PrimitiveTypeConstraintValidator.php Validates the PrimitiveType constraint.
PrimitiveTypeConstraintValidator.php file core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/PrimitiveTypeConstraintValidator.php
PrimitiveTypeConstraintValidator::validate function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/PrimitiveTypeConstraintValidator.php phpcs:ignore Drupal.Commenting.FunctionComment.VoidReturn
PrimitiveTypeConstraintValidatorTest class core/tests/Drupal/Tests/Core/Validation/Plugin/Validation/Constraint/PrimitiveTypeConstraintValidatorTest.php @coversDefaultClass \Drupal\Core\Validation\Plugin\Validation\Constraint\PrimitiveTypeConstraintValidator
@group validation
PrimitiveTypeConstraintValidatorTest.php file core/tests/Drupal/Tests/Core/Validation/Plugin/Validation/Constraint/PrimitiveTypeConstraintValidatorTest.php
PrimitiveTypeConstraintValidatorTest::provideTestValidate function core/tests/Drupal/Tests/Core/Validation/Plugin/Validation/Constraint/PrimitiveTypeConstraintValidatorTest.php
PrimitiveTypeConstraintValidatorTest::testValidate function core/tests/Drupal/Tests/Core/Validation/Plugin/Validation/Constraint/PrimitiveTypeConstraintValidatorTest.php @covers ::validate
ProjectRelease::validateReleaseData function core/modules/update/src/ProjectRelease.php Validates the project release data.
ProjectReleaseTest::getValidData function core/modules/update/tests/src/Unit/ProjectReleaseTest.php Gets valid data for a project release.
ProjectReleaseTest::providerCreateFromArrayInvalidField function core/modules/update/tests/src/Unit/ProjectReleaseTest.php Data provider for testCreateFromArrayInvalidField().
ProjectReleaseTest::testCreateFromArrayInvalidField function core/modules/update/tests/src/Unit/ProjectReleaseTest.php Tests exceptions for invalid field types.
ProtectedUserFieldConstraintValidator class core/modules/user/src/Plugin/Validation/Constraint/ProtectedUserFieldConstraintValidator.php Validates the ProtectedUserFieldConstraint constraint.
ProtectedUserFieldConstraintValidator.php file core/modules/user/src/Plugin/Validation/Constraint/ProtectedUserFieldConstraintValidator.php
ProtectedUserFieldConstraintValidator::$currentUser property core/modules/user/src/Plugin/Validation/Constraint/ProtectedUserFieldConstraintValidator.php The current user.
ProtectedUserFieldConstraintValidator::$userStorage property core/modules/user/src/Plugin/Validation/Constraint/ProtectedUserFieldConstraintValidator.php User storage handler.
ProtectedUserFieldConstraintValidator::create function core/modules/user/src/Plugin/Validation/Constraint/ProtectedUserFieldConstraintValidator.php Instantiates a new instance of this class.
ProtectedUserFieldConstraintValidator::validate function core/modules/user/src/Plugin/Validation/Constraint/ProtectedUserFieldConstraintValidator.php phpcs:ignore Drupal.Commenting.FunctionComment.VoidReturn
ProtectedUserFieldConstraintValidator::__construct function core/modules/user/src/Plugin/Validation/Constraint/ProtectedUserFieldConstraintValidator.php Constructs the object.
ProtectedUserFieldConstraintValidatorTest class core/modules/user/tests/src/Unit/Plugin/Validation/Constraint/ProtectedUserFieldConstraintValidatorTest.php @coversDefaultClass \Drupal\user\Plugin\Validation\Constraint\ProtectedUserFieldConstraintValidator
@group user
ProtectedUserFieldConstraintValidatorTest.php file core/modules/user/tests/src/Unit/Plugin/Validation/Constraint/ProtectedUserFieldConstraintValidatorTest.php
ProtectedUserFieldConstraintValidatorTest::createValidator function core/modules/user/tests/src/Unit/Plugin/Validation/Constraint/ProtectedUserFieldConstraintValidatorTest.php
ProtectedUserFieldConstraintValidatorTest::testValidate function core/modules/user/tests/src/Unit/Plugin/Validation/Constraint/ProtectedUserFieldConstraintValidatorTest.php @covers ::validate
ProtectedUserFieldConstraintValidatorTest::validate function core/modules/user/tests/src/Unit/Plugin/Validation/Constraint/ProtectedUserFieldConstraintValidatorTest.php Perform the validation.
ProviderRepositoryTest::providerInvalidResponse function core/modules/media/tests/src/Unit/ProviderRepositoryTest.php Data provider for ::testInvalidResponse().
ProviderRepositoryTest::testInvalidResponse function core/modules/media/tests/src/Unit/ProviderRepositoryTest.php Tests handling of invalid JSON when fetching the provider database.
QueryPluginBase::validateOptionsForm function core/modules/views/src/Plugin/views/query/QueryPluginBase.php Validate the options form.
QueueSerializationTest::validateForm function core/tests/Drupal/KernelTests/Core/Queue/QueueSerializationTest.php Form validation handler.
QuickStartTest::testQuickStartCommandProfileValidation function core/tests/Drupal/Tests/Core/Command/QuickStartTest.php Tests the install command with an invalid profile.
Random::stringValidate function core/tests/Drupal/TestTools/Random.php Callback for random string validation.
RandomGeneratorTrait::randomStringValidate function core/tests/Drupal/Tests/RandomGeneratorTrait.php Callback for random string validation.
RandomTest::testRandomStringValidator function core/tests/Drupal/Tests/Component/Utility/RandomTest.php Tests random string validation callbacks.
RandomTest::testRandomWordValidator function core/tests/Drupal/Tests/Component/Utility/RandomTest.php Tests random word.
RandomTest::_RandomStringValidate function core/tests/Drupal/Tests/Component/Utility/RandomTest.php Callback for random string validation.
RangeConstraintValidator class core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/RangeConstraintValidator.php Validator for the Drupal 'range' constraint.
RangeConstraintValidator.php file core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/RangeConstraintValidator.php
RangeConstraintValidator::validate function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/RangeConstraintValidator.php phpcs:ignore Drupal.Commenting.FunctionComment.VoidReturn
Recipe::validateConfigActions function core/lib/Drupal/Core/Recipe/Recipe.php Validates that the corresponding extension is enabled for a config action.
Recipe::validateExtensionIsAvailable function core/lib/Drupal/Core/Recipe/Recipe.php Validates that the value is an available module/theme (installed or not).
Recipe::validateRecipeExists function core/lib/Drupal/Core/Recipe/Recipe.php Validates that a recipe exists.
RecipeRunnerTest::testInvalidConfigAction function core/tests/Drupal/KernelTests/Core/Recipe/RecipeRunnerTest.php
RecipeRunnerTest::testInvalidConfigActionAppliedOnConfigEntity function core/tests/Drupal/KernelTests/Core/Recipe/RecipeRunnerTest.php
RecipeValidationTest class core/tests/Drupal/KernelTests/Core/Recipe/RecipeValidationTest.php @group Recipe
RecipeValidationTest.php file core/tests/Drupal/KernelTests/Core/Recipe/RecipeValidationTest.php
RecipeValidationTest::providerRecipeValidation function core/tests/Drupal/KernelTests/Core/Recipe/RecipeValidationTest.php Data provider for ::testRecipeValidation().
RecipeValidationTest::testRecipeValidation function core/tests/Drupal/KernelTests/Core/Recipe/RecipeValidationTest.php Tests the validation of recipe.yml file.

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