Search for file
Exact matches
Title | Object type | File name | Summary |
---|---|---|---|
File | class | core/ |
File entity media source. |
File | class | core/ |
Defines the file entity class. |
File | class | core/ |
Field handler to provide simple renderer that allows linking to a file. |
File | class | core/ |
Tests creating managed files views with the wizard. |
File | class | core/ |
Drupal 6 file source from database. |
File | class | core/ |
Drupal 7 file source from database. |
File | class | core/ |
Provides a form element for uploading a file. |
All search results
Title | Object type | File name | Summary |
---|---|---|---|
FileUploadSanitizeNameEvent::__construct | function | core/ |
Constructs a file upload sanitize name event object. |
FileUploadSanitizeNameEventTest | class | core/ |
FileUploadSanitizeNameEvent tests. |
FileUploadSanitizeNameEventTest.php | file | core/ |
|
FileUploadSanitizeNameEventTest::provideFilenames | function | core/ |
Provides data for testEventFilenameFunctions(). |
FileUploadSanitizeNameEventTest::testAllowedExtensions | function | core/ |
@covers ::getAllowedExtensions |
FileUploadSanitizeNameEventTest::testConstructorException | function | core/ |
@covers ::__construct @covers ::setFilename |
FileUploadSanitizeNameEventTest::testEventFilenameFunctions | function | core/ |
Test event construction. |
FileUploadSanitizeNameEventTest::testSetFilename | function | core/ |
@covers ::setFilename @covers ::getFilename |
FileUploadSanitizeNameEventTest::testSetFilenameException | function | core/ |
@covers ::setFilename |
FileUploadSanitizeNameEventTest::testStopPropagation | function | core/ |
@covers ::stopPropagation |
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. |
Pagination
- Previous page
- Page 35
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.