Search for valid
- Search 7.x for valid
- Search 8.9.x for valid
- Search 10.3.x for valid
- Search 11.x for valid
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| FileItem::validateMaxFilesize | function | core/ |
Form API callback. |
| FileItemValidationTest | class | core/ |
Tests that files referenced in file and image fields are always validated. |
| FileItemValidationTest.php | file | core/ |
|
| FileItemValidationTest::$modules | property | core/ |
Modules to enable. |
| FileItemValidationTest::$user | property | core/ |
A user. |
| FileItemValidationTest::getFileTypes | function | core/ |
Provides a list of file types to test. |
| FileItemValidationTest::setUp | function | core/ |
|
| FileItemValidationTest::testFileValidationConstraint | function | core/ |
@covers \Drupal\file\Plugin\Validation\Constraint\FileValidationConstraint[[api-linebreak]] @covers \Drupal\file\Plugin\Validation\Constraint\FileValidationConstraintValidator[[api-linebreak]] @dataProvider getFileTypes |
| FileManagedFileElementTest::testUnusedPermanentFileValidation | function | core/ |
Verify that unused permanent files can be used. |
| FileRepositoryTest::testInvalidStreamWrapper | function | core/ |
Tests for an invalid stream wrapper. |
| FileSelection::validateReferenceableNewEntities | function | core/ |
Validates which newly created entities can be referenced. |
| FileSystemTest::testInvalidUTF8 | function | core/ |
Tests that invalid UTF-8 results in an exception. |
| FileTestForm::validateForm | function | core/ |
Form validation handler. |
| FileTestSaveUploadFromForm::validateForm | function | core/ |
Form validation handler. |
| FileTransferAuthorizeForm::validateForm | function | core/ |
Form validation handler. |
| FileUpload::validateAndLoadFieldDefinition | function | core/ |
Validates and loads a field definition instance. |
| FileUploadForm::validateUploadElement | function | core/ |
Validates the upload element. |
| FileUploadHandler::handleExtensionValidation | function | core/ |
Gets the list of allowed extensions and updates the validators. |
| FileUploadResource::getUploadValidators | function | core/ |
Retrieves the upload validators for a field definition. |
| FileUploadResource::validate | function | core/ |
Validates the file. |
| FileUploadResource::validateAndLoadFieldDefinition | function | core/ |
Validates and loads a field definition instance. |
| FileUploadResource::validateAndParseContentDispositionHeader | function | core/ |
Validates and extracts the filename from the Content-Disposition header. |
| FileUploadResourceTestBase::testFileUploadInvalidFileType | function | core/ |
Tests using the file upload route with an invalid file type. |
| FileUploadResourceTestBase::testPostFileUploadInvalidHeaders | function | core/ |
Tests using the file upload POST route with invalid headers. |
| FileUploadTest::testFileUploadInvalidFileType | function | core/ |
Tests using the file upload route with an invalid file type. |
| FileUploadTest::testPostFileUploadInvalidHeaders | function | core/ |
Tests using the file upload POST route with invalid headers. |
| FileUriUnique::validatedBy | function | core/ |
|
| FileValidationConstraint | class | core/ |
Validation File constraint. |
| FileValidationConstraint.php | file | core/ |
|
| FileValidationConstraintValidator | class | core/ |
Checks that a file referenced in a file field is valid. |
| FileValidationConstraintValidator.php | file | core/ |
|
| FileValidationConstraintValidator::validate | function | core/ |
|
| 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. |
| FileWidget::validateMultipleCount | function | core/ |
Validates the number of uploaded files. |
| file_test_file_validate | function | core/ |
Implements hook_file_validate(). |
| 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. |
| filter.uninstall_validator | service | core/ |
Drupal\filter\FilterUninstallValidator |
| FilterDateTest::_testUiValidation | function | core/ |
Make sure the validation callbacks works. |
Pagination
- Previous page
- Page 20
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.