Search for validator
- Search 7.x for validator
- Search 9.5.x for validator
- Search 8.9.x for validator
- Search 11.x for validator
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
UniqueValuesConstraintValidatorTest::$modules | property | core/ |
Modules to install. |
UniqueValuesConstraintValidatorTest::setUp | function | core/ |
Tests cases where the validation passes for entities with string IDs. |
UniqueValuesConstraintValidatorTest::testValidation | function | core/ |
Tests the UniqueField validation constraint validator. |
UniqueValuesConstraintValidatorTest::testValidationCaseInsensitive | function | core/ |
Tests the UniqueField validation constraint validator with regards to case-insensitivity. |
UniqueValuesConstraintValidatorTest::testValidationMultiple | function | core/ |
Tests the UniqueField validation constraint validator for multiple violations. |
UniqueValuesConstraintValidatorTest::testValidationOwn | function | core/ |
Tests the UniqueField validation constraint validator for existing value in the same entity. |
UniqueValuesConstraintValidatorTest::testValidationReference | function | core/ |
Tests the UniqueField validation constraint validator for entity reference fields. |
UnitTestCase::getContainerWithCacheTagsInvalidator | function | core/ |
Sets up a container with a cache tags invalidator. |
UploadedFileConstraintValidator | class | core/ |
Constraint validator for uploaded files. |
UploadedFileConstraintValidator.php | file | core/ |
|
UploadedFileConstraintValidator::validate | function | core/ |
|
UploadedFileConstraintValidatorTest | class | core/ |
Tests the uploaded file validator. |
UploadedFileConstraintValidatorTest.php | file | core/ |
|
UploadedFileConstraintValidatorTest::$filename | property | core/ |
The file name. |
UploadedFileConstraintValidatorTest::$maxSize | property | core/ |
The max 4 MB filesize to use for testing. |
UploadedFileConstraintValidatorTest::$modules | property | core/ |
Modules to install. |
UploadedFileConstraintValidatorTest::$path | property | core/ |
The temporary file path. |
UploadedFileConstraintValidatorTest::$validator | property | core/ |
A validator. |
UploadedFileConstraintValidatorTest::setUp | function | core/ |
|
UploadedFileConstraintValidatorTest::testValidateFail | function | core/ |
@covers ::validate[[api-linebreak]] @dataProvider validateProvider |
UploadedFileConstraintValidatorTest::testValidateSuccess | function | core/ |
@covers ::validate[[api-linebreak]] |
UploadedFileConstraintValidatorTest::validateProvider | function | core/ |
Data provider for ::testValidateFail. |
UrlTest::$pathValidator | property | core/ |
The mocked path validator. |
user.name_validator | service | core/ |
Drupal\user\UserNameValidator |
UserMailRequiredValidator | class | core/ |
Checks if the user's email address is provided if required. |
UserMailRequiredValidator.php | file | core/ |
|
UserMailRequiredValidator::validate | function | core/ |
phpcs:ignore Drupal.Commenting.FunctionComment.VoidReturn |
UserMailRequiredValidatorTest | class | core/ |
@coversDefaultClass \Drupal\user\Plugin\Validation\Constraint\UserMailRequiredValidator[[api-linebreak]] @group user |
UserMailRequiredValidatorTest.php | file | core/ |
|
UserMailRequiredValidatorTest::createValidator | function | core/ |
Creates a validator instance. |
UserMailRequiredValidatorTest::providerTestValidate | function | core/ |
Data provider for ::testValidate(). |
UserMailRequiredValidatorTest::testValidate | function | core/ |
@covers ::validate[[api-linebreak]] |
UserNameConstraintValidator | class | core/ |
Validates the UserName constraint. |
UserNameConstraintValidator.php | file | core/ |
|
UserNameConstraintValidator::validate | function | core/ |
|
UserNameValidator | class | core/ |
Provides a username validator. |
UserNameValidator.php | file | core/ |
|
UserNameValidator::validateName | function | core/ |
Validates a user name. |
UserNameValidator::__construct | function | core/ |
|
UserNameValidatorTest | class | core/ |
Verify that user validity checks behave as designed. |
UserNameValidatorTest.php | file | core/ |
|
UserNameValidatorTest::$modules | property | core/ |
Modules to install. |
UserNameValidatorTest::$userValidator | property | core/ |
The user validator under test. |
UserNameValidatorTest::invalidUserNameProvider | function | core/ |
Provides invalid user names. |
UserNameValidatorTest::setUp | function | core/ |
|
UserNameValidatorTest::testInvalidUsernames | function | core/ |
Tests invalid user name validation. |
UserNameValidatorTest::testValidUsernames | function | core/ |
Tests valid user name validation. |
UserNameValidatorTest::validUsernameProvider | function | core/ |
Provides valid user names. |
UserPasswordForm::$emailValidator | property | core/ |
The email validator service. |
user_views_plugins_argument_validator_alter | function | core/ |
Implements hook_views_plugins_argument_validator_alter(). |
Pagination
- Previous page
- Page 23
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.