FileUploadHandlerTest::testFileSaveUploadSingleErrorFormSize |
function |
core/modules/file/tests/src/Kernel/FileUploadHandlerTest.php |
Tests file size upload errors. |
FileUploadJsonBasicAuthTest |
class |
core/modules/file/tests/src/Functional/FileUploadJsonBasicAuthTest.php |
@group file |
FileUploadJsonBasicAuthTest.php |
file |
core/modules/file/tests/src/Functional/FileUploadJsonBasicAuthTest.php |
|
FileUploadJsonBasicAuthTest::$auth |
property |
core/modules/file/tests/src/Functional/FileUploadJsonBasicAuthTest.php |
The authentication mechanism to use in this test. |
FileUploadJsonBasicAuthTest::$defaultTheme |
property |
core/modules/file/tests/src/Functional/FileUploadJsonBasicAuthTest.php |
The theme to install as the default for testing. |
FileUploadJsonBasicAuthTest::$format |
property |
core/modules/file/tests/src/Functional/FileUploadJsonBasicAuthTest.php |
The format to use in this test. |
FileUploadJsonBasicAuthTest::$mimeType |
property |
core/modules/file/tests/src/Functional/FileUploadJsonBasicAuthTest.php |
The MIME type that corresponds to $format. |
FileUploadJsonBasicAuthTest::$modules |
property |
core/modules/file/tests/src/Functional/FileUploadJsonBasicAuthTest.php |
Modules to install. |
FileUploadJsonCookieTest |
class |
core/modules/file/tests/src/Functional/FileUploadJsonCookieTest.php |
@group file |
FileUploadJsonCookieTest.php |
file |
core/modules/file/tests/src/Functional/FileUploadJsonCookieTest.php |
|
FileUploadJsonCookieTest::$auth |
property |
core/modules/file/tests/src/Functional/FileUploadJsonCookieTest.php |
The authentication mechanism to use in this test. |
FileUploadJsonCookieTest::$defaultTheme |
property |
core/modules/file/tests/src/Functional/FileUploadJsonCookieTest.php |
The theme to install as the default for testing. |
FileUploadJsonCookieTest::$entityTypeId |
property |
core/modules/file/tests/src/Functional/FileUploadJsonCookieTest.php |
Entity type ID for this storage. |
FileUploadJsonCookieTest::$format |
property |
core/modules/file/tests/src/Functional/FileUploadJsonCookieTest.php |
The format to use in this test. |
FileUploadJsonCookieTest::$mimeType |
property |
core/modules/file/tests/src/Functional/FileUploadJsonCookieTest.php |
The MIME type that corresponds to $format. |
FileUploadResource |
class |
core/modules/file/src/Plugin/rest/resource/FileUploadResource.php |
File upload resource. |
FileUploadResource.php |
file |
core/modules/file/src/Plugin/rest/resource/FileUploadResource.php |
|
FileUploadResource::$currentUser |
property |
core/modules/file/src/Plugin/rest/resource/FileUploadResource.php |
The currently authenticated user. |
FileUploadResource::$entityFieldManager |
property |
core/modules/file/src/Plugin/rest/resource/FileUploadResource.php |
The entity field manager. |
FileUploadResource::$entityTypeManager |
property |
core/modules/file/src/Plugin/rest/resource/FileUploadResource.php |
The entity type manager. |
FileUploadResource::$eventDispatcher |
property |
core/modules/file/src/Plugin/rest/resource/FileUploadResource.php |
The event dispatcher to dispatch the filename sanitize event. |
FileUploadResource::$fileSystem |
property |
core/modules/file/src/Plugin/rest/resource/FileUploadResource.php |
The file system service. |
FileUploadResource::$lock |
property |
core/modules/file/src/Plugin/rest/resource/FileUploadResource.php |
The lock service. |
FileUploadResource::$mimeTypeGuesser |
property |
core/modules/file/src/Plugin/rest/resource/FileUploadResource.php |
The MIME type guesser. |
FileUploadResource::$systemFileConfig |
property |
core/modules/file/src/Plugin/rest/resource/FileUploadResource.php |
|
FileUploadResource::$token |
property |
core/modules/file/src/Plugin/rest/resource/FileUploadResource.php |
The token replacement instance. |
FileUploadResource::BYTES_TO_READ |
constant |
core/modules/file/src/Plugin/rest/resource/FileUploadResource.php |
The amount of bytes to read in each iteration when streaming file data. |
FileUploadResource::create |
function |
core/modules/file/src/Plugin/rest/resource/FileUploadResource.php |
Creates an instance of the plugin. |
FileUploadResource::generateLockIdFromFileUri |
function |
core/modules/file/src/Plugin/rest/resource/FileUploadResource.php |
Generates a lock ID based on the file URI. |
FileUploadResource::getBaseRoute |
function |
core/modules/file/src/Plugin/rest/resource/FileUploadResource.php |
Gets the base route for a particular method. |
FileUploadResource::getBaseRouteRequirements |
function |
core/modules/file/src/Plugin/rest/resource/FileUploadResource.php |
Gets the base route requirements for a particular method. |
FileUploadResource::getUploadLocation |
function |
core/modules/file/src/Plugin/rest/resource/FileUploadResource.php |
Determines the URI for a file field. |
FileUploadResource::getUploadValidators |
function |
core/modules/file/src/Plugin/rest/resource/FileUploadResource.php |
Retrieves the upload validators for a field definition. |
FileUploadResource::permissions |
function |
core/modules/file/src/Plugin/rest/resource/FileUploadResource.php |
Implements ResourceInterface::permissions(). |
FileUploadResource::post |
function |
core/modules/file/src/Plugin/rest/resource/FileUploadResource.php |
Creates a file from an endpoint. |
FileUploadResource::prepareFilename |
function |
core/modules/file/src/Plugin/rest/resource/FileUploadResource.php |
Prepares the filename to strip out any malicious extensions. |
FileUploadResource::REQUEST_HEADER_FILENAME_REGEX |
constant |
core/modules/file/src/Plugin/rest/resource/FileUploadResource.php |
The regex used to extract the filename from the content disposition header. |
FileUploadResource::streamUploadData |
function |
core/modules/file/src/Plugin/rest/resource/FileUploadResource.php |
Streams file upload data to temporary file and moves to file destination. |
FileUploadResource::validate |
function |
core/modules/file/src/Plugin/rest/resource/FileUploadResource.php |
Validates the file. |
FileUploadResource::validateAndLoadFieldDefinition |
function |
core/modules/file/src/Plugin/rest/resource/FileUploadResource.php |
Validates and loads a field definition instance. |
FileUploadResource::validateAndParseContentDispositionHeader |
function |
core/modules/file/src/Plugin/rest/resource/FileUploadResource.php |
Validates and extracts the filename from the Content-Disposition header. |
FileUploadResource::__construct |
function |
core/modules/file/src/Plugin/rest/resource/FileUploadResource.php |
Constructs a FileUploadResource instance. |
FileUploadResourceTestBase |
class |
core/modules/rest/tests/src/Functional/FileUploadResourceTestBase.php |
Tests binary data file upload route. |
FileUploadResourceTestBase.php |
file |
core/modules/rest/tests/src/Functional/FileUploadResourceTestBase.php |
|
FileUploadResourceTestBase::$entity |
property |
core/modules/rest/tests/src/Functional/FileUploadResourceTestBase.php |
The parent entity. |
FileUploadResourceTestBase::$field |
property |
core/modules/rest/tests/src/Functional/FileUploadResourceTestBase.php |
The field config. |
FileUploadResourceTestBase::$fieldStorage |
property |
core/modules/rest/tests/src/Functional/FileUploadResourceTestBase.php |
The test field storage config. |
FileUploadResourceTestBase::$file |
property |
core/modules/rest/tests/src/Functional/FileUploadResourceTestBase.php |
Created file entity. |
FileUploadResourceTestBase::$fileStorage |
property |
core/modules/rest/tests/src/Functional/FileUploadResourceTestBase.php |
The entity storage for the 'file' entity type. |
FileUploadResourceTestBase::$modules |
property |
core/modules/rest/tests/src/Functional/FileUploadResourceTestBase.php |
Modules to install. |