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 |
---|---|---|---|
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/ |
Tests validate fail. |
UploadedFileConstraintValidatorTest::testValidateSuccess | function | core/ |
Tests validate success. |
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. |
ValidKeysConstraintValidatorTest::testRequiredKeys | function | core/ |
Tests detecting missing required keys. |
ValidKeysConstraintValidatorTest::testSupportedKeys | function | core/ |
Tests detecting unsupported keys. |
ValidKeysConstraintValidatorTest::testUnknownKeys | function | core/ |
Tests detecting unknown keys. |
ValidKeysConstraintValidatorTest::testValidation | function | core/ |
Tests the ValidKeys constraint validator. |
ValidKeysConstraintValidatorTest::testValidKeyInference | function | core/ |
Tests that valid keys can be inferred from the data definition. |
ValidPathConstraintValidator | class | core/ |
Constraint validator for validating system paths. |
ValidPathConstraintValidator.php | file | core/ |
|
ValidPathConstraintValidator::$pathValidator | property | core/ |
The path validator. |
ValidPathConstraintValidator::create | function | core/ |
Instantiates a new instance of this class. |
ValidPathConstraintValidator::validate | function | core/ |
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.