Search for load
Title | Object type | File name | Summary |
---|---|---|---|
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/ |
|
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 |
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 |
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.