Search for valid
Title | Object type | File name | Summary |
---|---|---|---|
FileImageDimensionsConstraintValidatorTest::setUp | function | core/ |
|
FileImageDimensionsConstraintValidatorTest::testFileValidateImageResolution | function | core/ |
This ensures the dimensions of a specific file is within bounds. |
FileIsImageConstraintValidator | class | core/ |
Validator for the FileIsImageConstraint. |
FileIsImageConstraintValidator.php | file | core/ |
|
FileIsImageConstraintValidator::create | function | core/ |
Instantiates a new instance of this class. |
FileIsImageConstraintValidator::validate | function | core/ |
|
FileIsImageConstraintValidator::__construct | function | core/ |
Creates a new FileIsImageConstraintValidator. |
FileIsImageConstraintValidatorTest | class | core/ |
Tests the FileIsImageConstraintValidator. |
FileIsImageConstraintValidatorTest.php | file | core/ |
|
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 @covers \Drupal\file\Plugin\Validation\Constraint\FileValidationConstraintValidator @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 |
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. |
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.