Search for load
Title | Object type | File name | Summary |
---|---|---|---|
FileUploadResourceTestBase::$file | property | core/ |
Created file entity. |
FileUploadResourceTestBase::$fileStorage | property | core/ |
The entity storage for the 'file' entity type. |
FileUploadResourceTestBase::$modules | property | core/ |
|
FileUploadResourceTestBase::$postUri | property | core/ |
The POST URI. |
FileUploadResourceTestBase::$resourceConfigId | property | core/ |
|
FileUploadResourceTestBase::$testFileData | property | core/ |
Test file data. |
FileUploadResourceTestBase::$user | property | core/ |
An authenticated user. |
FileUploadResourceTestBase::assertNormalizationEdgeCases | function | core/ |
|
FileUploadResourceTestBase::assertResponseData | function | core/ |
Asserts expected normalized data matches response data. |
FileUploadResourceTestBase::fileRequest | function | core/ |
Performs a file upload request. Wraps the Guzzle HTTP client. |
FileUploadResourceTestBase::getExpectedNormalizedEntity | function | core/ |
Gets the expected file entity. |
FileUploadResourceTestBase::getExpectedUnauthorizedAccessCacheability | function | core/ |
|
FileUploadResourceTestBase::getExpectedUnauthorizedAccessMessage | function | core/ |
|
FileUploadResourceTestBase::getNormalizedPostEntity | function | core/ |
Returns the normalized POST entity referencing the uploaded file. |
FileUploadResourceTestBase::setUp | function | core/ |
|
FileUploadResourceTestBase::setUpAuthorization | function | core/ |
|
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::$violations | property | core/ |
The constraint violations. |
FileUploadResult::addViolation | function | core/ |
Adds a constraint violation. |
FileUploadResult::addViolations | function | core/ |
Adds constraint violations. |
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::getViolations | function | core/ |
Gets the constraint violations. |
FileUploadResult::hasViolations | function | core/ |
Returns TRUE if there are constraint violations. |
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. |
FileUploadResult::__construct | function | core/ |
Creates a new FileUploadResult. |
FileUploadSanitizeNameEvent | class | core/ |
An event during file upload that lets subscribers sanitize the filename. |
FileUploadSanitizeNameEvent.php | file | core/ |
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.