Search for load
Title | Object type | File name | Summary |
---|---|---|---|
FileUpload::ensureFileUploadAccess | function | core/ |
Ensures that the given account is allowed to upload a file. |
FileUpload::handleFileUploadForExistingResource | function | core/ |
Handles JSON:API file upload requests. |
FileUpload::handleFileUploadForNewResource | function | core/ |
Handles JSON:API file upload requests. |
FileUpload::handleFileUploadForResource | function | core/ |
Handles JSON:API file upload requests. |
FileUpload::validateAndLoadFieldDefinition | function | core/ |
Validates and loads a field definition instance. |
FileUpload::__construct | function | core/ |
|
FileUploadForm | class | core/ |
Creates a form to create media entities from uploaded files. |
FileUploadForm.php | file | core/ |
|
FileUploadForm::$elementInfo | property | core/ |
The element info manager. |
FileUploadForm::$fileRepository | property | core/ |
The file repository service. |
FileUploadForm::$fileSystem | property | core/ |
The file system service. |
FileUploadForm::$fileUsage | property | core/ |
The file usage service. |
FileUploadForm::$renderer | property | core/ |
The renderer service. |
FileUploadForm::buildEntityFormElement | function | core/ |
Builds the sub-form for setting required fields on a new media item. |
FileUploadForm::buildInputElement | function | core/ |
Builds the element for submitting source field value(s). |
FileUploadForm::create | function | core/ |
Instantiates a new instance of this class. |
FileUploadForm::createFileItem | function | core/ |
Create a file field item. |
FileUploadForm::createMediaFromValue | function | core/ |
Creates a new, unsaved media item from a source field value. |
FileUploadForm::getFormId | function | core/ |
Returns a unique string identifying the form. |
FileUploadForm::getMediaType | function | core/ |
Get the media type from the form state. |
FileUploadForm::hideExtraSourceFieldComponents | function | core/ |
Processes an image or file source field element. |
FileUploadForm::prepareMediaEntityForSave | function | core/ |
Prepares a created media item to be permanently saved. |
FileUploadForm::processUploadElement | function | core/ |
Processes an upload (managed_file) element. |
FileUploadForm::removeButtonSubmit | function | core/ |
Submit handler for the remove button. |
FileUploadForm::uploadButtonSubmit | function | core/ |
Submit handler for the upload button, inside the managed_file element. |
FileUploadForm::validateUploadElement | function | core/ |
Validates the upload element. |
FileUploadForm::__construct | function | core/ |
Constructs a new FileUploadForm. |
FileUploadHandler | class | core/ |
Handles validating and creating file entities from file uploads. |
FileUploadHandler.php | file | core/ |
|
FileUploadHandler::$currentUser | property | core/ |
The current user. |
FileUploadHandler::$entityTypeManager | property | core/ |
The entity type manager. |
FileUploadHandler::$eventDispatcher | property | core/ |
The event dispatcher. |
FileUploadHandler::$fileRepository | property | core/ |
The file Repository. |
FileUploadHandler::$fileSystem | property | core/ |
The file system service. |
FileUploadHandler::$fileValidator | property | core/ |
The file validator. |
FileUploadHandler::$mimeTypeGuesser | property | core/ |
The MIME type guesser. |
FileUploadHandler::$requestStack | property | core/ |
The request stack. |
FileUploadHandler::$streamWrapperManager | property | core/ |
The stream wrapper manager. |
FileUploadHandler::DEFAULT_EXTENSIONS | constant | core/ |
The default extensions if none are provided. |
FileUploadHandler::generateLockId | function | core/ |
Generates a lock ID based on the file URI. |
FileUploadHandler::handleExtensionValidation | function | core/ |
Gets the list of allowed extensions and updates the validators. |
FileUploadHandler::handleFileUpload | function | core/ |
Creates a file from an upload. |
FileUploadHandler::moveUploadedFile | function | core/ |
Move the uploaded file from the temporary path to the destination. |
FileUploadHandler::__construct | function | core/ |
|
FileUploadHandlerTest | class | core/ |
Tests the file upload handler. |
FileUploadHandlerTest.php | file | core/ |
|
FileUploadHandlerTest::$fileUploadHandler | property | core/ |
The file upload handler under test. |
FileUploadHandlerTest::$modules | property | core/ |
Modules to install. |
FileUploadHandlerTest::setUp | function | core/ |
|
FileUploadHandlerTest::testLockAcquireException | function | core/ |
Test the lock acquire exception. |
Pagination
- Previous page
- Page 10
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.