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 10.3.x for validate
  5. Other projects
Title Object type File name Summary
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.
UriHostConstraintValidator::validate function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/UriHostConstraintValidator.php
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.
UserMailRequiredValidator::validate function core/modules/user/src/Plugin/Validation/Constraint/UserMailRequiredValidator.php
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
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.
View::invalidateCaches function core/modules/views/src/Entity/View.php Invalidates cache tags.
ViewAddForm::validateForm function core/modules/views_ui/src/ViewAddForm.php Form validation handler.
ViewEditForm::validateForm function core/modules/views_ui/src/ViewEditForm.php Form validation handler.
ViewExecutable::validate function core/modules/views/src/ViewExecutable.php Makes sure the view is completely valid.
ViewExecutableTest::testValidate function core/modules/views/tests/src/Kernel/ViewExecutableTest.php Tests the validation of display handlers.
ViewExecutableTest::testValidateNestedLoops function core/modules/views/tests/src/Kernel/ViewExecutableTest.php Tests that nested loops of the display handlers won't break validation.
Views argument validate plugins group core/modules/views/src/Plugin/views/argument_validator/ArgumentValidatorPluginBase.php Plugins for validating views contextual filters.

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