Search for validateName

  1. Search 7.x for validateName
  2. Search 9.5.x for validateName
  3. Search 8.9.x for validateName
  4. Search 11.x for validateName
  5. Other projects
Title Object type File name Summary
Callbacks::validateName function core/modules/system/tests/modules/form_test/src/Callbacks.php Form element validation handler for 'name' in form_test_validate_form().
ConfigBase::validateName function core/lib/Drupal/Core/Config/ConfigBase.php Validates the configuration object name.
ConfigTest::testValidateNameException function core/tests/Drupal/Tests/Core/Config/ConfigTest.php @covers ::validateName
@dataProvider validateNameProvider
ConfigTest::validateNameProvider function core/tests/Drupal/Tests/Core/Config/ConfigTest.php Provides data to test name validation.
FileNameLengthConstraintValidatorTest::testFileValidateNameLength function core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileNameLengthConstraintValidatorTest.php This will ensure the filename length is valid.
LegacyValidatorTest::testFileValidateNameLength function core/modules/file/tests/src/Kernel/LegacyValidatorTest.php This will ensure the filename length is valid.
UserLoginForm::validateName function core/modules/user/src/Form/UserLoginForm.php Sets an error if supplied username has been blocked.
UserNameValidator::validateName function core/modules/user/src/UserNameValidator.php Validates a user name.

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