Search for valid
Title | Object type | File name | Summary |
---|---|---|---|
FileIsImageConstraintValidatorTest::$image | property | core/ |
An image file. |
FileIsImageConstraintValidatorTest::$nonImage | property | core/ |
A file which is not an image. |
FileIsImageConstraintValidatorTest::setUp | function | core/ |
|
FileIsImageConstraintValidatorTest::testFileIsImage | function | core/ |
This ensures a specific file is actually an image. |
FileItem::getUploadValidators | function | core/ |
Retrieves the upload validators for a file field. |
FileItem::validateDirectory | function | core/ |
Form API callback. |
FileItem::validateExtensions | function | core/ |
Form API callback. |
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 install. |
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. |
FileNameLengthConstraintValidator | class | core/ |
Validates the file name length constraint. |
FileNameLengthConstraintValidator.php | file | core/ |
|
FileNameLengthConstraintValidator::validate | function | core/ |
|
FileNameLengthConstraintValidatorTest | class | core/ |
Tests the FileNameLengthConstraintValidator. |
FileNameLengthConstraintValidatorTest.php | file | core/ |
|
FileNameLengthConstraintValidatorTest::testFileValidateNameLength | function | core/ |
This will ensure the filename length is valid. |
FileRepositoryTest::testInvalidStreamWrapper | function | core/ |
Tests for an invalid stream wrapper. |
FileSelection::validateReferenceableNewEntities | function | core/ |
Validates which newly created entities can be referenced. |
FileSizeLimitConstraintValidator | class | core/ |
Validates the FileSizeLimitConstraint. |
FileSizeLimitConstraintValidator.php | file | core/ |
|
FileSizeLimitConstraintValidator::create | function | core/ |
Instantiates a new instance of this class. |
FileSizeLimitConstraintValidator::validate | function | core/ |
|
FileSizeLimitConstraintValidator::__construct | function | core/ |
Creates a new FileSizeConstraintValidator. |
FileSizeLimitConstraintValidatorTest | class | core/ |
Tests the FileSizeLimitConstraintValidator. |
FileSizeLimitConstraintValidatorTest.php | file | core/ |
|
FileSizeLimitConstraintValidatorTest::testFileValidateSize | function | core/ |
@covers ::validate[[api-linebreak]] |
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::$fileValidator | property | core/ |
The file validator. |
FileUploadHandler::handleExtensionValidation | function | core/ |
Gets the list of allowed extensions and updates the validators. |
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::testInvalidFileUploads | function | core/ |
Tests invalid file uploads. |
FileUploadTest::testPostFileUploadInvalidHeaders | function | core/ |
Tests using the file upload POST route with invalid headers. |
FileUriUnique::validatedBy | function | core/ |
Returns the name of the class that validates this constraint. |
FileValidationConstraint | class | core/ |
Validation File constraint. |
FileValidationConstraint.php | file | core/ |
Pagination
- Previous page
- Page 26
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.