Search for load
Title | Object type | File name | Summary |
---|---|---|---|
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 |
FileUploadSanitizeNameEventTest::testStopPropagation | function | core/ |
@covers ::stopPropagation |
FileUploadTest | class | core/ |
Tests binary data file upload route. |
FileUploadTest | class | core/ |
@coversDefaultClass \Drupal\jsonapi\Controller\FileUpload @group jsonapi |
FileUploadTest.php | file | core/ |
|
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 install. |
FileUploadTest::$modules | property | core/ |
Modules to install. |
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::setUp | function | core/ |
|
FileUploadTest::setUpAuthorization | function | core/ |
Sets up the necessary authorization. |
FileUploadTest::SKIP_METHODS | constant | core/ |
A list of test methods to skip. |
FileUploadTest::testCheckFileUploadAccessWithBaseField | function | core/ |
@covers ::checkFileUploadAccess |
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. |
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.