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 |
|---|---|---|---|
| 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/ |
|
| ValidPathConstraintValidator::__construct | function | core/ |
Creates a new ValidPathConstraintValidator instance. |
| ValidReferenceConstraintValidator | class | core/ |
Checks if referenced entities are valid. |
| ValidReferenceConstraintValidator.php | file | core/ |
|
| ValidReferenceConstraintValidator::$entityTypeManager | property | core/ |
The entity type manager. |
| ValidReferenceConstraintValidator::$selectionManager | property | core/ |
The selection plugin manager. |
| ValidReferenceConstraintValidator::create | function | core/ |
Instantiates a new instance of this class. |
| ValidReferenceConstraintValidator::validate | function | core/ |
|
| ValidReferenceConstraintValidator::__construct | function | core/ |
Constructs a ValidReferenceConstraintValidator object. |
| ValidReferenceConstraintValidatorTest | class | core/ |
Tests validation constraints for ValidReferenceConstraintValidator. |
Pagination
- Previous page
- Page 12
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.