Search for load
| Title | Object type | File name | Summary |
|---|---|---|---|
| FileUploadResourceTestBase::getExpectedUnauthorizedAccessMessage | function | core/ |
Return the expected error message. |
| FileUploadResourceTestBase::getNormalizedPostEntity | function | core/ |
Returns the normalized POST entity referencing the uploaded file. |
| FileUploadResourceTestBase::setUp | function | core/ |
|
| FileUploadResourceTestBase::setUpAuthorization | function | core/ |
Sets up the necessary authorization. |
| FileUploadResourceTestBase::testFileUploadInvalidFileType | function | core/ |
Tests using the file upload route with an invalid file type. |
| FileUploadResourceTestBase::testFileUploadLargerFileSize | function | core/ |
Tests using the file upload route with a file size larger than allowed. |
| FileUploadResourceTestBase::testFileUploadMaliciousExtension | function | core/ |
Tests using the file upload POST route with malicious extensions. |
| FileUploadResourceTestBase::testFileUploadNoExtensionSetting | function | core/ |
Tests using the file upload POST route no extension configured. |
| FileUploadResourceTestBase::testFileUploadStrippedFilePath | function | core/ |
Tests using the file upload route with any path prefixes being stripped. |
| FileUploadResourceTestBase::testFileUploadUnicodeFilename | function | core/ |
Tests using the file upload route with a unicode file name. |
| FileUploadResourceTestBase::testFileUploadZeroByteFile | function | core/ |
Tests using the file upload route with a zero byte file. |
| FileUploadResourceTestBase::testPostFileUpload | function | core/ |
Tests using the file upload POST route. |
| FileUploadResourceTestBase::testPostFileUploadDuplicateFile | function | core/ |
Tests using the file upload POST route with a duplicate file name. |
| FileUploadResourceTestBase::testPostFileUploadDuplicateFileRaceCondition | function | core/ |
Tests using the file upload POST route twice, simulating a race condition. |
| FileUploadResourceTestBase::testPostFileUploadInvalidHeaders | function | core/ |
Tests using the file upload POST route with invalid headers. |
| FileUploadResult | class | core/ |
Value object for a file upload result. |
| FileUploadResult.php | file | core/ |
|
| FileUploadResult::$file | property | core/ |
The File entity. |
| FileUploadResult::$originalFilename | property | core/ |
The original filename. |
| FileUploadResult::$sanitizedFilename | property | core/ |
The sanitized filename. |
| FileUploadResult::$securityRename | property | core/ |
If the filename was renamed for security reasons. |
| FileUploadResult::getFile | function | core/ |
Gets the File entity. |
| FileUploadResult::getOriginalFilename | function | core/ |
Gets the original filename. |
| FileUploadResult::getSanitizedFilename | function | core/ |
Gets the sanitized filename. |
| FileUploadResult::isRenamed | function | core/ |
Returns if there was a file rename. |
| FileUploadResult::isSecurityRename | function | core/ |
Returns if there was a security rename. |
| FileUploadResult::setFile | function | core/ |
Sets the File entity. |
| FileUploadResult::setOriginalFilename | function | core/ |
Sets the original filename. |
| FileUploadResult::setSanitizedFilename | function | core/ |
Sets the sanitized filename. |
| FileUploadResult::setSecurityRename | function | core/ |
Flags the result as having had a security rename. |
| FileUploadSanitizeNameEvent | class | core/ |
An event during file upload that lets subscribers sanitize the filename. |
| FileUploadSanitizeNameEvent.php | file | core/ |
|
| FileUploadSanitizeNameEvent::$allowedExtensions | property | core/ |
A list of allowed extensions. |
| FileUploadSanitizeNameEvent::$filename | property | core/ |
The name of the file being uploaded. |
| FileUploadSanitizeNameEvent::$isSecurityRename | property | core/ |
Indicates the filename has changed for security reasons. |
| FileUploadSanitizeNameEvent::getAllowedExtensions | function | core/ |
Gets the list of allowed extensions. |
| FileUploadSanitizeNameEvent::getFilename | function | core/ |
Gets the filename. |
| FileUploadSanitizeNameEvent::isSecurityRename | function | core/ |
Gets the security rename flag. |
| FileUploadSanitizeNameEvent::setFilename | function | core/ |
Sets the filename. |
| FileUploadSanitizeNameEvent::setSecurityRename | function | core/ |
Sets the security rename flag. |
| FileUploadSanitizeNameEvent::stopPropagation | function | core/ |
|
| 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[[api-linebreak]] |
| FileUploadSanitizeNameEventTest::testConstructorException | function | core/ |
@covers ::__construct[[api-linebreak]] @covers ::setFilename[[api-linebreak]] |
| FileUploadSanitizeNameEventTest::testEventFilenameFunctions | function | core/ |
Test event construction. |
| FileUploadSanitizeNameEventTest::testSetFilename | function | core/ |
@covers ::setFilename[[api-linebreak]] @covers ::getFilename[[api-linebreak]] |
| FileUploadSanitizeNameEventTest::testSetFilenameException | function | core/ |
@covers ::setFilename[[api-linebreak]] |
Pagination
- Previous page
- Page 12
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.