Search for load
| Title | Object type | File name | Summary |
|---|---|---|---|
| FileUploadSanitizeNameEventTest::testStopPropagation | function | core/ |
@covers ::stopPropagation[[api-linebreak]] |
| FileUploadTest | class | core/ |
Tests binary data file upload route. |
| FileUploadTest.php | file | core/ |
|
| FileUploadTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| FileUploadTest::$entity | property | core/ |
The parent entity. |
| FileUploadTest::$entityTypeId | property | core/ |
|
| FileUploadTest::$field | property | core/ |
The field config. |
| FileUploadTest::$fieldStorage | property | core/ |
The test field storage config. |
| FileUploadTest::$file | property | core/ |
Created file entity. |
| FileUploadTest::$fileStorage | property | core/ |
The entity storage for the 'file' entity type. |
| FileUploadTest::$modules | property | core/ |
Modules to enable. |
| FileUploadTest::$postUri | property | core/ |
The POST URI. |
| FileUploadTest::$resourceTypeName | property | core/ |
|
| FileUploadTest::$testFileData | property | core/ |
Test file data. |
| FileUploadTest::$user | property | core/ |
An authenticated user. |
| FileUploadTest::assertResponseData | function | core/ |
Asserts expected normalized data matches response data. |
| FileUploadTest::createEntity | function | core/ |
Creates the entity to be tested. |
| FileUploadTest::fileRequest | function | core/ |
Performs a file upload request. Wraps the Guzzle HTTP client. |
| FileUploadTest::getExpectedDocument | function | core/ |
Returns the expected JSON:API document for the expected file entity. |
| FileUploadTest::getExpectedUnauthorizedAccessCacheability | function | core/ |
Returns the expected cacheability for an unauthorized response. |
| FileUploadTest::getExpectedUnauthorizedAccessMessage | function | core/ |
Return the expected error message. |
| FileUploadTest::getPostDocument | function | core/ |
Returns the JSON:API POST document referencing the uploaded file. |
| FileUploadTest::setUp | function | core/ |
|
| FileUploadTest::setUpAuthorization | function | core/ |
Sets up the necessary authorization. |
| FileUploadTest::testCollection | function | core/ |
@requires module irrelevant_for_this_test |
| FileUploadTest::testDeleteIndividual | function | core/ |
@requires module irrelevant_for_this_test |
| FileUploadTest::testFileUploadInvalidFileType | function | core/ |
Tests using the file upload route with an invalid file type. |
| FileUploadTest::testFileUploadLargerFileSize | function | core/ |
Tests using the file upload route with a file size larger than allowed. |
| FileUploadTest::testFileUploadMaliciousExtension | function | core/ |
Tests using the file upload POST route with malicious extensions. |
| FileUploadTest::testFileUploadNoDirectorySetting | function | core/ |
Tests using the file upload POST route no directory configured. |
| FileUploadTest::testFileUploadNoExtensionSetting | function | core/ |
Tests using the file upload POST route no extension configured. |
| FileUploadTest::testFileUploadStrippedFilePath | function | core/ |
Tests using the file upload route with any path prefixes being stripped. |
| FileUploadTest::testFileUploadUnicodeFilename | function | core/ |
Tests using the file upload route with a unicode file name. |
| FileUploadTest::testFileUploadZeroByteFile | function | core/ |
Tests using the file upload route with a zero byte file. |
| FileUploadTest::testGetIndividual | function | core/ |
@requires module irrelevant_for_this_test |
| FileUploadTest::testPatchIndividual | function | core/ |
@requires module irrelevant_for_this_test |
| FileUploadTest::testPostFileUpload | function | core/ |
Tests using the file upload POST route; needs second request to "use" file. |
| FileUploadTest::testPostFileUploadAndUseInSingleRequest | function | core/ |
Tests using the 'file upload and "use" file in single request" POST route. |
| FileUploadTest::testPostFileUploadDuplicateFile | function | core/ |
Tests using the file upload POST route with a duplicate file name. |
| FileUploadTest::testPostFileUploadDuplicateFileRaceCondition | function | core/ |
Tests using the file upload POST route twice, simulating a race condition. |
| FileUploadTest::testPostFileUploadInvalidHeaders | function | core/ |
Tests using the file upload POST route with invalid headers. |
| FileUploadTest::testPostIndividual | function | core/ |
@requires module irrelevant_for_this_test |
| FileUploadTest::testRelationships | function | core/ |
@requires module irrelevant_for_this_test |
| file_file_download | function | core/ |
Implements hook_file_download(). |
| file_managed_file_save_upload | function | core/ |
Saves any files that have been uploaded into a managed_file element. |
| file_save_upload | function | core/ |
Saves file uploads to a new location. |
| file_test_file_download | function | core/ |
Implements hook_file_download(). |
| file_test_file_load | function | core/ |
Implements hook_ENTITY_TYPE_load() for file entities. |
| FilterFormatListBuilder::load | function | core/ |
Loads entities of this type from storage for listing. |
| FilterUninstallValidator::lazyLoadItself | function | core/ |
Lazy loads the real service from the container. |
Pagination
- Previous page
- Page 13
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.