Search for load

  1. Search 7.x for load
  2. Search 9.5.x for load
  3. Search 8.9.x for load
  4. Search 11.x for load
  5. Other projects
Title Object type File name Summary
FileTestSaveUploadFromForm::fileExistsFromName function core/modules/file/tests/file_test/src/Form/FileTestSaveUploadFromForm.php Get a FileExists enum from its name.
FileTestSaveUploadFromForm::getFormId function core/modules/file/tests/file_test/src/Form/FileTestSaveUploadFromForm.php Returns a unique string identifying the form.
FileTestSaveUploadFromForm::submitForm function core/modules/file/tests/file_test/src/Form/FileTestSaveUploadFromForm.php Form submission handler.
FileTestSaveUploadFromForm::validateForm function core/modules/file/tests/file_test/src/Form/FileTestSaveUploadFromForm.php Form validation handler.
FileTestSaveUploadFromForm::__construct function core/modules/file/tests/file_test/src/Form/FileTestSaveUploadFromForm.php Constructs a FileTestSaveUploadFromForm object.
FileUpload class core/modules/jsonapi/src/Controller/FileUpload.php Handles file upload requests.
FileUpload.php file core/modules/jsonapi/src/Controller/FileUpload.php
FileUpload::$deprecatedProperties property core/modules/jsonapi/src/Controller/FileUpload.php
FileUpload::checkFileUploadAccess function core/modules/jsonapi/src/Controller/FileUpload.php Checks if the current user has access to upload the file.
FileUpload::ensureFileUploadAccess function core/modules/jsonapi/src/Controller/FileUpload.php Ensures that the given account is allowed to upload a file.
FileUpload::handleFileUploadForExistingResource function core/modules/jsonapi/src/Controller/FileUpload.php Handles JSON:API file upload requests.
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 Constructs a new FileUpload object.
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 this class.
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::$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.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.