FileUploadForm::processUploadElement |
function |
core/modules/media_library/src/Form/FileUploadForm.php |
Processes an upload (managed_file) element. |
FileUploadForm::removeButtonSubmit |
function |
core/modules/media_library/src/Form/FileUploadForm.php |
Submit handler for the remove button. |
FileUploadForm::uploadButtonSubmit |
function |
core/modules/media_library/src/Form/FileUploadForm.php |
Submit handler for the upload button, inside the managed_file element. |
FileUploadForm::validateUploadElement |
function |
core/modules/media_library/src/Form/FileUploadForm.php |
Validates the upload element. |
FileUploadForm::__construct |
function |
core/modules/media_library/src/Form/FileUploadForm.php |
Constructs a new FileUploadForm. |
FileUploadHandler |
class |
core/modules/file/src/Upload/FileUploadHandler.php |
Handles validating and creating file entities from file uploads. |
FileUploadHandler.php |
file |
core/modules/file/src/Upload/FileUploadHandler.php |
|
FileUploadHandler::$currentUser |
property |
core/modules/file/src/Upload/FileUploadHandler.php |
The current user. |
FileUploadHandler::$entityTypeManager |
property |
core/modules/file/src/Upload/FileUploadHandler.php |
The entity type manager. |
FileUploadHandler::$eventDispatcher |
property |
core/modules/file/src/Upload/FileUploadHandler.php |
The event dispatcher. |
FileUploadHandler::$fileRepository |
property |
core/modules/file/src/Upload/FileUploadHandler.php |
The file Repository. |
FileUploadHandler::$fileSystem |
property |
core/modules/file/src/Upload/FileUploadHandler.php |
The file system service. |
FileUploadHandler::$fileValidator |
property |
core/modules/file/src/Upload/FileUploadHandler.php |
The file validator. |
FileUploadHandler::$mimeTypeGuesser |
property |
core/modules/file/src/Upload/FileUploadHandler.php |
The MIME type guesser. |
FileUploadHandler::$requestStack |
property |
core/modules/file/src/Upload/FileUploadHandler.php |
The request stack. |
FileUploadHandler::$streamWrapperManager |
property |
core/modules/file/src/Upload/FileUploadHandler.php |
The stream wrapper manager. |
FileUploadHandler::DEFAULT_EXTENSIONS |
constant |
core/modules/file/src/Upload/FileUploadHandler.php |
The default extensions if none are provided. |
FileUploadHandler::generateLockId |
function |
core/modules/file/src/Upload/FileUploadHandler.php |
Generates a lock ID based on the file URI. |
FileUploadHandler::handleExtensionValidation |
function |
core/modules/file/src/Upload/FileUploadHandler.php |
Gets the list of allowed extensions and updates the validators. |
FileUploadHandler::handleFileUpload |
function |
core/modules/file/src/Upload/FileUploadHandler.php |
Creates a file from an upload. |
FileUploadHandler::moveUploadedFile |
function |
core/modules/file/src/Upload/FileUploadHandler.php |
Move the uploaded file from the temporary path to the destination. |
FileUploadHandler::__construct |
function |
core/modules/file/src/Upload/FileUploadHandler.php |
|
FileUploadHandlerTest |
class |
core/modules/file/tests/src/Kernel/FileUploadHandlerTest.php |
Tests the file upload handler. |
FileUploadHandlerTest.php |
file |
core/modules/file/tests/src/Kernel/FileUploadHandlerTest.php |
|
FileUploadHandlerTest::$fileUploadHandler |
property |
core/modules/file/tests/src/Kernel/FileUploadHandlerTest.php |
The file upload handler under test. |
FileUploadHandlerTest::$modules |
property |
core/modules/file/tests/src/Kernel/FileUploadHandlerTest.php |
Modules to install. |
FileUploadHandlerTest::setUp |
function |
core/modules/file/tests/src/Kernel/FileUploadHandlerTest.php |
|
FileUploadHandlerTest::testLockAcquireException |
function |
core/modules/file/tests/src/Kernel/FileUploadHandlerTest.php |
Test the lock acquire exception. |
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. |
FileUploadLocationTrait |
trait |
core/modules/file/src/Upload/FileUploadLocationTrait.php |
Resolves the file upload location from a file field definition. |
FileUploadLocationTrait.php |
file |
core/modules/file/src/Upload/FileUploadLocationTrait.php |
|
FileUploadLocationTrait::getUploadLocation |
function |
core/modules/file/src/Upload/FileUploadLocationTrait.php |
Resolves the file upload location from a file field definition. |
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::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. |