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
UpdateManagerUpdate::validateForm function core/modules/update/src/Form/UpdateManagerUpdate.php Form validation handler.
UploadedFileConstraintValidator::validate function core/modules/file/src/Validation/Constraint/UploadedFileConstraintValidator.php
UploadedFileConstraintValidatorTest::testValidateFail function core/modules/file/tests/src/Kernel/Validation/UploadedFileConstraintValidatorTest.php @covers ::validate
@dataProvider validateProvider
UploadedFileConstraintValidatorTest::testValidateSuccess function core/modules/file/tests/src/Kernel/Validation/UploadedFileConstraintValidatorTest.php @covers ::validate
UploadedFileConstraintValidatorTest::validateProvider function core/modules/file/tests/src/Kernel/Validation/UploadedFileConstraintValidatorTest.php Data provider for ::testValidateFail.
UploadedFileInterface::validate function core/modules/file/src/Upload/UploadedFileInterface.php Validates the uploaded file information.
UploadedFileValidator::validate function core/modules/file/src/Validation/UploadedFileValidator.php Validates an uploaded file.
UploadedFileValidatorInterface::validate function core/modules/file/src/Validation/UploadedFileValidatorInterface.php Validates an uploaded file.
UploadedFileValidatorTest::testValidateFail function core/modules/file/tests/src/Kernel/Validation/UploadedFileValidatorTest.php @covers ::validate
@dataProvider validateProvider
UploadedFileValidatorTest::testValidateSuccess function core/modules/file/tests/src/Kernel/Validation/UploadedFileValidatorTest.php @covers ::validate
UploadedFileValidatorTest::validateProvider function core/modules/file/tests/src/Kernel/Validation/UploadedFileValidatorTest.php Data provider for ::testValidateFail.
Url::validateUrl function core/lib/Drupal/Core/Render/Element/Url.php Form element validation handler for #type 'url'.
User::validateEntity function core/modules/user/src/Plugin/views/argument_validator/User.php Validates an individual entity against class access settings.
UserController::validatePathParameters function core/modules/user/src/Controller/UserController.php Validates hash and timestamp.
UserLoginForm::validateAuthentication function core/modules/user/src/Form/UserLoginForm.php Checks supplied username/password against local users table.
UserLoginForm::validateFinal function core/modules/user/src/Form/UserLoginForm.php Checks if user was not authenticated, or if too many logins were attempted.
UserLoginForm::validateName function core/modules/user/src/Form/UserLoginForm.php Sets an error if supplied username has been blocked.
UserMailRequiredValidator::validate function core/modules/user/src/Plugin/Validation/Constraint/UserMailRequiredValidator.php phpcs:ignore Drupal.Commenting.FunctionComment.VoidReturn
UserMailRequiredValidatorTest::providerTestValidate function core/modules/user/tests/src/Unit/Plugin/Validation/Constraint/UserMailRequiredValidatorTest.php Data provider for ::testValidate().
UserMailRequiredValidatorTest::testValidate function core/modules/user/tests/src/Unit/Plugin/Validation/Constraint/UserMailRequiredValidatorTest.php @covers ::validate
UserName::validateArgument function core/modules/user/src/Plugin/views/argument_validator/UserName.php Performs validation for a given argument.
UserNameConstraintValidator::validate function core/modules/user/src/Plugin/Validation/Constraint/UserNameConstraintValidator.php
UserNameValidator::validateName function core/modules/user/src/UserNameValidator.php Validates a user name.
UserPasswordForm::validateForm function core/modules/user/src/Form/UserPasswordForm.php Form validation handler.
UserSelection::validateReferenceableNewEntities function core/modules/user/src/Plugin/EntityReferenceSelection/UserSelection.php Validates which newly created entities can be referenced.
user_validate_name function core/modules/user/user.module Verify the syntax of the given name.
UuidConstraint::validatedBy function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/UuidConstraint.php @todo Add method return type declaration.
ValidateHostnameTest class core/tests/Drupal/Tests/Core/DrupalKernel/ValidateHostnameTest.php @coversDefaultClass \Drupal\Core\DrupalKernel
@group DrupalKernel
ValidateHostnameTest.php file core/tests/Drupal/Tests/Core/DrupalKernel/ValidateHostnameTest.php
ValidateHostnameTest::providerTestValidateHostname function core/tests/Drupal/Tests/Core/DrupalKernel/ValidateHostnameTest.php Provides test data for testValidateHostname().
ValidateHostnameTest::testValidateHostname function core/tests/Drupal/Tests/Core/DrupalKernel/ValidateHostnameTest.php @covers ::validateHostname
@dataProvider providerTestValidateHostname
ValidateMigrationStateTest class core/modules/migrate_drupal/tests/src/Kernel/d6/ValidateMigrationStateTest.php Tests the migration state information in module.migrate_drupal.yml.
ValidateMigrationStateTest class core/modules/migrate_drupal/tests/src/Kernel/d7/ValidateMigrationStateTest.php Tests the migration state information in module.migrate_drupal.yml.
ValidateMigrationStateTest.php file core/modules/migrate_drupal/tests/src/Kernel/d6/ValidateMigrationStateTest.php
ValidateMigrationStateTest.php file core/modules/migrate_drupal/tests/src/Kernel/d7/ValidateMigrationStateTest.php
ValidateMigrationStateTest::$modules property core/modules/migrate_drupal/tests/src/Kernel/d6/ValidateMigrationStateTest.php Modules to install.
ValidateMigrationStateTest::$modules property core/modules/migrate_drupal/tests/src/Kernel/d7/ValidateMigrationStateTest.php Modules to install.
ValidateMigrationStateTestTrait trait core/modules/migrate_drupal/tests/src/Traits/ValidateMigrationStateTestTrait.php Tests the migration state information in module.migrate_drupal.yml.
ValidateMigrationStateTestTrait.php file core/modules/migrate_drupal/tests/src/Traits/ValidateMigrationStateTestTrait.php
ValidateMigrationStateTestTrait::enableAllModules function core/modules/migrate_drupal/tests/src/Traits/ValidateMigrationStateTestTrait.php Enable all available modules.
ValidateMigrationStateTestTrait::testMigrationState function core/modules/migrate_drupal/tests/src/Traits/ValidateMigrationStateTestTrait.php Tests the migration information in .migrate_drupal.yml.
ValidationErrorBlock::validateConfigurationForm function core/modules/settings_tray/tests/modules/settings_tray_test/src/Plugin/Block/ValidationErrorBlock.php Most block plugins should not override this method. To add validation
for a specific block type, override BlockBase::blockValidate().
ValidationTest::testValidate function core/modules/system/tests/src/Functional/Form/ValidationTest.php Tests #element_validate and #validate.
ValidationTest::testValidateLimitErrors function core/modules/system/tests/src/Functional/Form/ValidationTest.php Tests partial form validation through #limit_validation_errors.
ValidKeysConstraintValidator::validate function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/ValidKeysConstraintValidator.php
ValidPathConstraintValidator::validate function core/lib/Drupal/Core/Path/Plugin/Validation/Constraint/ValidPathConstraintValidator.php
ValidReferenceConstraintValidator::validate function core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/ValidReferenceConstraintValidator.php
VariantBase::validateConfigurationForm function core/lib/Drupal/Core/Display/VariantBase.php Form validation handler.
VariationCache::invalidate function core/lib/Drupal/Core/Cache/VariationCache.php Marks a cache item as invalid.
VariationCacheInterface::invalidate function core/lib/Drupal/Core/Cache/VariationCacheInterface.php Marks a cache item as invalid.

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