Search for validate

  1. Search 7.x for validate
  2. Search 9.5.x for validate
  3. Search 10.3.x for validate
  4. Search 11.x for validate
  5. Other projects
Title Object type File name Summary
ThemeSettingsForm::validateForm function core/modules/system/src/Form/ThemeSettingsForm.php Form validation handler.
ThemeSettingsForm::validatePath function core/modules/system/src/Form/ThemeSettingsForm.php Helper function for the system_theme_settings form.
Time::validateOptionsForm function core/modules/views/src/Plugin/views/cache/Time.php Validate the options form.
TimezoneTest::validateForm function core/tests/Drupal/KernelTests/Core/Datetime/Element/TimezoneTest.php Form validation handler.
TranslateEditForm::validateForm function core/modules/locale/src/Form/TranslateEditForm.php Form validation handler.
TranslationStatusForm::validateForm function core/modules/locale/src/Form/TranslationStatusForm.php Form validation handler.
TriggeringElementProgrammedTest::validateForm function core/tests/Drupal/KernelTests/Core/Form/TriggeringElementProgrammedTest.php Form validation handler.
TwigEnvironment::invalidate function core/lib/Drupal/Core/Template/TwigEnvironment.php Invalidates all compiled Twig templates.
TypedData::validate function core/lib/Drupal/Core/TypedData/TypedData.php Validates the currently set data value.
TypedDataInterface::validate function core/lib/Drupal/Core/TypedData/TypedDataInterface.php Validates the currently set data value.
Unicode::validateUtf8 function core/lib/Drupal/Component/Utility/Unicode.php Checks whether a string is valid UTF-8.
UnicodeTest::providerTestValidateUtf8 function core/tests/Drupal/Tests/Component/Utility/UnicodeTest.php Provides data for self::testValidateUtf8().
UnicodeTest::testValidateUtf8 function core/tests/Drupal/Tests/Component/Utility/UnicodeTest.php Tests UTF-8 validation.
UniqueFieldConstraint::validatedBy function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/UniqueFieldConstraint.php
UniqueFieldValueValidator::validate function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/UniqueFieldValueValidator.php
UniquePathAliasConstraintValidator::validate function core/lib/Drupal/Core/Path/Plugin/Validation/Constraint/UniquePathAliasConstraintValidator.php
UpdateManagerInstall::validateForm function core/modules/update/src/Form/UpdateManagerInstall.php Form validation handler.
UpdateManagerUpdate::validateForm function core/modules/update/src/Form/UpdateManagerUpdate.php Form validation handler.
UpdateSettingsForm::validateForm function core/modules/update/src/UpdateSettingsForm.php Form validation handler.
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.
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
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
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 enable.
ValidateMigrationStateTest::$modules property core/modules/migrate_drupal/tests/src/Kernel/d7/ValidateMigrationStateTest.php Modules to enable.
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.
ValidateTest class core/modules/file/tests/src/Kernel/ValidateTest.php Tests the file_validate() function.
ValidateTest.php file core/modules/file/tests/src/Kernel/ValidateTest.php
ValidateTest::testCallerValidation function core/modules/file/tests/src/Kernel/ValidateTest.php Test that the validators passed into are checked.

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