Search for valid
- Search 7.x for valid
- Search 9.5.x for valid
- Search 10.3.x for valid
- Search 11.x for valid
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| FileFieldValidateTest | class | core/ |
Tests validation functions such as file type, max file size, max size per node, and required. |
| FileFieldValidateTest.php | file | core/ |
|
| FileFieldValidateTest.php | file | core/ |
|
| FileFieldValidateTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| FileFieldValidateTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| FileFieldValidateTest::$modules | property | core/ |
Modules to enable. |
| FileFieldValidateTest::testAjaxValidationMessage | function | core/ |
Test the validation message is displayed only once for ajax uploads. |
| FileFieldValidateTest::testAssertFileExistsDeprecation | function | core/ |
Tests deprecation of the assertFileExists and assertFileNotExists methods. |
| FileFieldValidateTest::testFileExtension | function | core/ |
Tests file extension checking. |
| FileFieldValidateTest::testFileMaxSize | function | core/ |
Tests the max file size validator. |
| FileFieldValidateTest::testFileRemoval | function | core/ |
Checks that a file can always be removed if it does not pass validation. |
| FileFieldValidateTest::testRequired | function | core/ |
Tests the required property on file fields. |
| FileFieldWidgetTest::testWidgetValidation | function | core/ |
Tests validation with the Upload button. |
| 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 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. |
| FileSelection::validateReferenceableNewEntities | function | core/ |
Validates which newly created entities can be referenced. |
| FileSystem::validScheme | function | core/ |
Checks that the scheme of a stream URI is valid. |
| FileSystemDeprecationTest::testDeprecatedValidScheme | function | core/ |
@expectedDeprecation file_stream_wrapper_valid_scheme() is deprecated in drupal:8.0.0 and will be removed before drupal:9.0.0. Use \Drupal\Core\StreamWrapper\StreamWrapperManagerInterface::isValidScheme() instead. See https://www.drupal.org/node/3035273 |
| FileSystemDeprecationTest::testDeprecatedValidUri | function | core/ |
@expectedDeprecation file_valid_uri() is deprecated in drupal:8.8.0 and will be removed before drupal:9.0.0. Use \Drupal\Core\StreamWrapper\StreamWrapperManagerInterface::isValidUri() instead. See https://www.drupal.org/node/3035273 |
| FileSystemInterface::validScheme | function | core/ |
Checks that the scheme of a stream URI is valid. |
| 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. |
| 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/ |
Pagination
- Previous page
- Page 18
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.