Search for valid
Title | Object type | File name | Summary |
---|---|---|---|
FileValidationConstraintValidator | class | core/ |
Checks that a file referenced in a file field is valid. |
FileValidationConstraintValidator.php | file | core/ |
|
FileValidationConstraintValidator::create | function | core/ |
Instantiates a new instance of this class. |
FileValidationConstraintValidator::validate | function | core/ |
|
FileValidationConstraintValidator::__construct | function | core/ |
Creates a new FileValidationConstraintValidator. |
FileValidationEvent | class | core/ |
Event for file validations. |
FileValidationEvent.php | file | core/ |
|
FileValidationEvent::__construct | function | core/ |
Creates a new FileValidationEvent. |
FileValidationException | class | core/ |
Provides an exception for upload validation errors. |
FileValidationException.php | file | core/ |
|
FileValidationException::$errors | property | core/ |
The validation errors. |
FileValidationException::$fileName | property | core/ |
The file name. |
FileValidationException::getErrors | function | core/ |
Gets the errors. |
FileValidationException::getFilename | function | core/ |
Gets the file name. |
FileValidationException::__construct | function | core/ |
Constructs a new FileValidationException. |
FileValidationTestSubscriber | class | core/ |
Provides a validation listener for file validation tests. |
FileValidationTestSubscriber.php | file | core/ |
|
FileValidationTestSubscriber::getSubscribedEvents | function | core/ |
|
FileValidationTestSubscriber::onFileValidation | function | core/ |
Handles the file validation event. |
FileValidator | class | core/ |
Provides a class for file validation. |
FileValidator.php | file | core/ |
|
FileValidator::validate | function | core/ |
Validates a File with a list of validators. |
FileValidator::__construct | function | core/ |
Creates a new FileValidator. |
FileValidatorInterface | interface | core/ |
Provides a file validator that supports a list of validations. |
FileValidatorInterface.php | file | core/ |
|
FileValidatorInterface::validate | function | core/ |
Validates a File with a list of validators. |
FileValidatorSettingsTrait | trait | core/ |
Provides a trait to create validators from settings. |
FileValidatorSettingsTrait.php | file | core/ |
|
FileValidatorSettingsTrait::getFileUploadValidators | function | core/ |
Gets the upload validators for the specified settings. |
FileValidatorTest | class | core/ |
Tests the file validator. |
FileValidatorTest.php | file | core/ |
|
FileValidatorTest::$modules | property | core/ |
Modules to install. |
FileValidatorTest::testValidate | function | core/ |
Tests the validator. |
FileValidatorTestBase | class | core/ |
Provides a base file constraint validator test. |
FileValidatorTestBase.php | file | core/ |
|
FileValidatorTestBase::$file | property | core/ |
The file. |
FileValidatorTestBase::$modules | property | core/ |
Modules to install. |
FileValidatorTestBase::$validator | property | core/ |
The file validator. |
FileValidatorTestBase::setUp | function | core/ |
|
FileWidget::validateMultipleCount | function | core/ |
Validates the number of uploaded files. |
file_test_validator | function | core/ |
Helper validator that returns the $errors parameter. |
file_validate | function | core/ |
Checks that a file meets the criteria specified by the validators. |
file_validate_extensions | function | core/ |
Checks that the filename ends with an allowed extension. |
file_validate_image_resolution | function | core/ |
Verifies that image dimensions are within the specified maximum and minimum. |
file_validate_is_image | function | core/ |
Checks that the file is recognized as a valid image. |
file_validate_name_length | function | core/ |
Checks for files with names longer than can be stored in the database. |
file_validate_size | function | core/ |
Checks that the file's size is below certain limits. |
file_validation_sanitization_subscriber | service | core/ |
Drupal\file_validator_test\EventSubscriber\FileSanitizationEventSubscriber |
file_validation_test_subscriber | service | core/ |
Drupal\file_validator_test\EventSubscriber\FileValidationTestSubscriber |
file_validator_test.info.yml | file | core/ |
core/modules/file/tests/modules/file_validator_test/file_validator_test.info.yml |
Pagination
- Previous page
- Page 27
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.