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
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
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
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::providerTestValidate function core/modules/user/tests/src/Unit/Plugin/Validation/Constraint/ProtectedUserFieldConstraintValidatorTest.php Data provider for ::testValidate().
ProtectedUserFieldConstraintValidatorTest::testValidate function core/modules/user/tests/src/Unit/Plugin/Validation/Constraint/ProtectedUserFieldConstraintValidatorTest.php @covers ::validate
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.
QuickEditEntityFieldAccessCheck::validateRequestAttributes function core/modules/quickedit/src/Access/QuickEditEntityFieldAccessCheck.php Validates request attributes.
QuickEditFieldForm::validateForm function core/modules/quickedit/src/Form/QuickEditFieldForm.php Form validation handler.
QuickEditImageControllerTest::testInvalidUpload function core/modules/quickedit/tests/src/Functional/QuickEditImageControllerTest.php Tests that uploading an invalid image does not work.
QuickEditImageControllerTest::testValidImageUpload function core/modules/quickedit/tests/src/Functional/QuickEditImageControllerTest.php Tests that uploading a valid image works.
QuickStartTest::testQuickStartCommandProfileValidation function core/tests/Drupal/Tests/Core/Command/QuickStartTest.php Tests the install command with an invalid profile.
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
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

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