Search for validate

  1. Search 7.x for validate
  2. Search 9.5.x for validate
  3. Search 8.9.x for validate
  4. Search 11.x for validate
  5. Other projects
Title Object type File name Summary
ProtectedUserFieldConstraintValidator::validate function core/modules/user/src/Plugin/Validation/Constraint/ProtectedUserFieldConstraintValidator.php phpcs:ignore Drupal.Commenting.FunctionComment.VoidReturn
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.
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.
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::_RandomStringValidate function core/tests/Drupal/Tests/Component/Utility/RandomTest.php Callback for random string validation.
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.
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
RecursiveContextualValidatorTest::providerTestValidatePropertyWithInvalidObjects function core/tests/Drupal/Tests/Core/TypedData/RecursiveContextualValidatorTest.php Provides data for testValidatePropertyWithInvalidObjects.
RecursiveContextualValidatorTest::testBasicValidateWithConstraint function core/tests/Drupal/Tests/Core/TypedData/RecursiveContextualValidatorTest.php @covers ::validate
RecursiveContextualValidatorTest::testBasicValidateWithMultipleConstraints function core/tests/Drupal/Tests/Core/TypedData/RecursiveContextualValidatorTest.php @covers ::validate
RecursiveContextualValidatorTest::testBasicValidateWithoutConstraints function core/tests/Drupal/Tests/Core/TypedData/RecursiveContextualValidatorTest.php @covers ::validate
RecursiveContextualValidatorTest::testPropertiesValidateWithMultipleLevels function core/tests/Drupal/Tests/Core/TypedData/RecursiveContextualValidatorTest.php @covers ::validate
RecursiveContextualValidatorTest::testRecursiveValidate function core/tests/Drupal/KernelTests/Core/TypedData/RecursiveContextualValidatorTest.php Tests recursive validation against given constraints against an entity.
RecursiveContextualValidatorTest::testValidateProperty function core/tests/Drupal/Tests/Core/TypedData/RecursiveContextualValidatorTest.php @covers ::validateProperty
RecursiveContextualValidatorTest::testValidatePropertyValue function core/tests/Drupal/Tests/Core/TypedData/RecursiveContextualValidatorTest.php @covers ::validatePropertyValue
RecursiveContextualValidatorTest::testValidatePropertyValueWithInvalidObjects function core/tests/Drupal/Tests/Core/TypedData/RecursiveContextualValidatorTest.php @covers ::validatePropertyValue
RecursiveContextualValidatorTest::testValidatePropertyWithCustomGroup function core/tests/Drupal/Tests/Core/TypedData/RecursiveContextualValidatorTest.php @covers ::validateProperty
RecursiveContextualValidatorTest::testValidatePropertyWithInvalidObjects function core/tests/Drupal/Tests/Core/TypedData/RecursiveContextualValidatorTest.php @covers ::validateProperty
RecursiveContextualValidatorTest::testValidateWithGroups function core/tests/Drupal/Tests/Core/TypedData/RecursiveContextualValidatorTest.php Ensures that passing an explicit group is not supported.
RecursiveContextualValidatorTest::testValidateWithoutTypedData function core/tests/Drupal/Tests/Core/TypedData/RecursiveContextualValidatorTest.php Ensures that passing a non typed data value is not supported.
RecursiveValidator::validate function core/lib/Drupal/Core/TypedData/Validation/RecursiveValidator.php
RecursiveValidator::validateProperty function core/lib/Drupal/Core/TypedData/Validation/RecursiveValidator.php
RecursiveValidator::validatePropertyValue function core/lib/Drupal/Core/TypedData/Validation/RecursiveValidator.php
ReferenceAccessConstraintValidator::validate function core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/ReferenceAccessConstraintValidator.php
RegexConstraint::validatedBy function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/RegexConstraint.php @todo Add method return type declaration.
RequestPath::validateConfigurationForm function core/modules/system/src/Plugin/Condition/RequestPath.php Form validation handler.
RequiredConfigDependenciesConstraintValidator::validate function core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/RequiredConfigDependenciesConstraintValidator.php
RequiredModuleUninstallValidator::validate function core/lib/Drupal/Core/ProxyClass/Extension/RequiredModuleUninstallValidator.php Determines the reasons a module can not be uninstalled.
RequiredModuleUninstallValidator::validate function core/lib/Drupal/Core/Extension/RequiredModuleUninstallValidator.php Determines the reasons a module can not be uninstalled.
RequiredModuleUninstallValidatorTest::testValidateNoModule function core/tests/Drupal/Tests/Core/Extension/RequiredModuleUninstallValidatorTest.php @covers ::validate
RequiredModuleUninstallValidatorTest::testValidateNotRequired function core/tests/Drupal/Tests/Core/Extension/RequiredModuleUninstallValidatorTest.php @covers ::validate
RequiredModuleUninstallValidatorTest::testValidateRequired function core/tests/Drupal/Tests/Core/Extension/RequiredModuleUninstallValidatorTest.php @covers ::validate
Resize::validateArguments function core/modules/system/src/Plugin/ImageToolkit/Operation/gd/Resize.php Validates the arguments.
ResourceResponseValidator::validateResponse function core/modules/jsonapi/src/EventSubscriber/ResourceResponseValidator.php Validates a response against the JSON:API specification.
ResourceResponseValidator::validateSchema function core/modules/jsonapi/src/EventSubscriber/ResourceResponseValidator.php Validates a string against a JSON Schema. It logs any possible errors.
ResourceResponseValidatorTest::testValidateResponse function core/modules/jsonapi/tests/src/Unit/EventSubscriber/ResourceResponseValidatorTest.php @covers ::validateResponse
@dataProvider validateResponseProvider
ResourceResponseValidatorTest::validateResponseProvider function core/modules/jsonapi/tests/src/Unit/EventSubscriber/ResourceResponseValidatorTest.php Provides test cases for testValidateResponse.
ResponsiveImageStyleForm::validateForm function core/modules/responsive_image/src/ResponsiveImageStyleForm.php Form validation handler.
RestTestConstraintValidator::validate function core/modules/rest/tests/modules/rest_test/src/Plugin/Validation/Constraint/RestTestConstraintValidator.php
Role::validateOptionsForm function core/modules/user/src/Plugin/views/access/Role.php Validate the options form.

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