Search for ConstraintValidator
- Search 7.x for ConstraintValidator
- Search 9.5.x for ConstraintValidator
- Search 8.9.x for ConstraintValidator
- Search 10.3.x for ConstraintValidator
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
UniqueLabelInListConstraintValidator.php | file | core/ |
|
UniqueLabelInListConstraintValidator::validate | function | core/ |
|
UniquePathAliasConstraintValidator | class | core/ |
Constraint validator for a unique path alias. |
UniquePathAliasConstraintValidator.php | file | core/ |
|
UniquePathAliasConstraintValidator::$entityTypeManager | property | core/ |
The entity type manager. |
UniquePathAliasConstraintValidator::create | function | core/ |
Instantiates a new instance of this class. |
UniquePathAliasConstraintValidator::validate | function | core/ |
|
UniquePathAliasConstraintValidator::__construct | function | core/ |
Creates a new UniquePathAliasConstraintValidator instance. |
UniqueValuesConstraintValidatorTest | class | core/ |
Tests the unique field value validation constraint. |
UniqueValuesConstraintValidatorTest.php | file | core/ |
|
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 constraint with regards to case-insensitivity. |
UniqueValuesConstraintValidatorTest::testValidationMultiple | function | core/ |
Tests the UniqueField constraint for multiple violations. |
UniqueValuesConstraintValidatorTest::testValidationOwn | function | core/ |
Tests the UniqueField constraint for existing value in the same entity. |
UniqueValuesConstraintValidatorTest::testValidationReference | function | core/ |
Tests the UniqueField constraint validator for entity reference fields. |
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. |
UriHostConstraintValidator | class | core/ |
Validates if a string conforms to the RFC 3986 host component. |
UriHostConstraintValidator.php | file | core/ |
|
UriHostConstraintValidator::isValid | function | core/ |
Return TRUE if value is a valid hostname or IP address literal. |
UriHostConstraintValidator::validate | function | core/ |
|
UserNameConstraintValidator | class | core/ |
Validates the UserName constraint. |
UserNameConstraintValidator.php | file | core/ |
|
UserNameConstraintValidator::validate | function | core/ |
|
ValidKeysConstraintValidator | class | core/ |
Validates the ValidKeys constraint. |
ValidKeysConstraintValidator.php | file | core/ |
|
ValidKeysConstraintValidator::getDynamicMessageParameters | function | core/ |
Computes message parameters for dynamic type violations. |
ValidKeysConstraintValidator::validate | function | core/ |
|
ValidKeysConstraintValidatorTest | class | core/ |
Tests the ValidKeys validation constraint. |
ValidKeysConstraintValidatorTest.php | file | core/ |
|
ValidKeysConstraintValidatorTest::$config | property | core/ |
The typed config under test. |
ValidKeysConstraintValidatorTest::assertValidationErrors | function | core/ |
Asserts a set of validation errors is raised when the config is validated. |
ValidKeysConstraintValidatorTest::setUp | function | core/ |
|
ValidKeysConstraintValidatorTest::testBothUnknownAndDynamicallyRequiredKeys | function | core/ |
Tests detecting both unknown and required keys. |
ValidKeysConstraintValidatorTest::testDynamicallyRequiredKeys | function | core/ |
Tests detecting missing dynamically required keys. |
ValidKeysConstraintValidatorTest::testMarkedAsOptional | function | core/ |
Tests ValidKeys constraint validator detecting optional keys. |
Pagination
- Previous page
- Page 11
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.