| FileUpload::handleFileUploadForNewResource |
function |
core/modules/jsonapi/src/Controller/FileUpload.php |
Handles JSON:API file upload requests. |
| FileUpload::handleFileUploadForResource |
function |
core/modules/jsonapi/src/Controller/FileUpload.php |
Handles JSON:API file upload requests. |
| FileUpload::validateAndLoadFieldDefinition |
function |
core/modules/jsonapi/src/Controller/FileUpload.php |
Validates and loads a field definition instance. |
| FileUpload::__construct |
function |
core/modules/jsonapi/src/Controller/FileUpload.php |
|
| FileUploadForm |
class |
core/modules/media_library/src/Form/FileUploadForm.php |
Creates a form to create media entities from uploaded files. |
| FileUploadForm.php |
file |
core/modules/media_library/src/Form/FileUploadForm.php |
|
| FileUploadForm::$elementInfo |
property |
core/modules/media_library/src/Form/FileUploadForm.php |
The element info manager. |
| FileUploadForm::$fileRepository |
property |
core/modules/media_library/src/Form/FileUploadForm.php |
The file repository service. |
| FileUploadForm::$fileSystem |
property |
core/modules/media_library/src/Form/FileUploadForm.php |
The file system service. |
| FileUploadForm::$fileUsage |
property |
core/modules/media_library/src/Form/FileUploadForm.php |
The file usage service. |
| FileUploadForm::$renderer |
property |
core/modules/media_library/src/Form/FileUploadForm.php |
The renderer service. |
| FileUploadForm::buildEntityFormElement |
function |
core/modules/media_library/src/Form/FileUploadForm.php |
Builds the sub-form for setting required fields on a new media item. |
| FileUploadForm::buildInputElement |
function |
core/modules/media_library/src/Form/FileUploadForm.php |
Builds the element for submitting source field value(s). |
| FileUploadForm::create |
function |
core/modules/media_library/src/Form/FileUploadForm.php |
Instantiates a new instance of the implementing class using autowiring. |
| FileUploadForm::createFileItem |
function |
core/modules/media_library/src/Form/FileUploadForm.php |
Create a file field item. |
| FileUploadForm::createMediaFromValue |
function |
core/modules/media_library/src/Form/FileUploadForm.php |
Creates a new, unsaved media item from a source field value. |
| FileUploadForm::getFormId |
function |
core/modules/media_library/src/Form/FileUploadForm.php |
Returns a unique string identifying the form. |
| FileUploadForm::getMediaType |
function |
core/modules/media_library/src/Form/FileUploadForm.php |
Get the media type from the form state. |
| FileUploadForm::hideExtraSourceFieldComponents |
function |
core/modules/media_library/src/Form/FileUploadForm.php |
Processes an image or file source field element. |
| FileUploadForm::prepareMediaEntityForSave |
function |
core/modules/media_library/src/Form/FileUploadForm.php |
Prepares a created media item to be permanently saved. |
| 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::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 |
|
| FileUploadHandlerInterface |
interface |
core/modules/file/src/Upload/FileUploadHandlerInterface.php |
Handles validating and creating file entities from file uploads. |
| FileUploadHandlerInterface.php |
file |
core/modules/file/src/Upload/FileUploadHandlerInterface.php |
|
| FileUploadHandlerInterface::handleFileUpload |
function |
core/modules/file/src/Upload/FileUploadHandlerInterface.php |
Creates a file from an upload. |
| 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 |
Tests File Upload Json Basic Auth. |
| 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 |
Tests File Upload Json Cookie. |