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
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
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.
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
Recipe::validateConfigActions function core/lib/Drupal/Core/Recipe/Recipe.php Validates that the corresponding extension is enabled for a config action.
Recipe::validateDefaultValueDefinition function core/lib/Drupal/Core/Recipe/Recipe.php Validates the definition of an input's default value.
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.
RecipeCommandTest::testPassInvalidInput function core/tests/Drupal/FunctionalTests/Core/Recipe/RecipeCommandTest.php
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
@group #slow
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.
RecursiveContextualValidator class core/lib/Drupal/Core/TypedData/Validation/RecursiveContextualValidator.php Defines a recursive contextual validator for Typed Data.
RecursiveContextualValidator.php file core/lib/Drupal/Core/TypedData/Validation/RecursiveContextualValidator.php
RecursiveContextualValidator::$constraintValidatorFactory property core/lib/Drupal/Core/TypedData/Validation/RecursiveContextualValidator.php The constraint validator factory.
RecursiveContextualValidator::$context property core/lib/Drupal/Core/TypedData/Validation/RecursiveContextualValidator.php The execution context.
RecursiveContextualValidator::$metadataFactory property core/lib/Drupal/Core/TypedData/Validation/RecursiveContextualValidator.php The metadata factory.
RecursiveContextualValidator::$typedDataManager property core/lib/Drupal/Core/TypedData/Validation/RecursiveContextualValidator.php The typed data manager.
RecursiveContextualValidator::atPath function core/lib/Drupal/Core/TypedData/Validation/RecursiveContextualValidator.php
RecursiveContextualValidator::getViolations function core/lib/Drupal/Core/TypedData/Validation/RecursiveContextualValidator.php
RecursiveContextualValidator::validate function core/lib/Drupal/Core/TypedData/Validation/RecursiveContextualValidator.php Validates a value against a constraint or a list of constraints.
RecursiveContextualValidator::validateConstraints function core/lib/Drupal/Core/TypedData/Validation/RecursiveContextualValidator.php Validates a node's value against all constraints in the given group.
RecursiveContextualValidator::validateNode function core/lib/Drupal/Core/TypedData/Validation/RecursiveContextualValidator.php Validates a Typed Data node in the validation tree.
RecursiveContextualValidator::validateProperty function core/lib/Drupal/Core/TypedData/Validation/RecursiveContextualValidator.php
RecursiveContextualValidator::validatePropertyValue function core/lib/Drupal/Core/TypedData/Validation/RecursiveContextualValidator.php
RecursiveContextualValidator::__construct function core/lib/Drupal/Core/TypedData/Validation/RecursiveContextualValidator.php Creates a validator for the given context.
RecursiveContextualValidatorTest class core/tests/Drupal/KernelTests/Core/TypedData/RecursiveContextualValidatorTest.php @coversDefaultClass \Drupal\Core\TypedData\Validation\RecursiveContextualValidator
@group Validation

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