function ManagedFileElementHelper::__construct

File

core/modules/file/src/Upload/ManagedFileElementHelper.php, line 31

Class

ManagedFileElementHelper
Helper class for ManagedFile element form file uploads.

Namespace

Drupal\file\Upload

Code

public function __construct(protected readonly MessengerInterface $messenger, protected readonly RendererInterface $renderer, protected readonly FormFileUploader $formFileUploader, protected readonly UploadedFilesExtractor $uploadedFilesExtractor, protected readonly FileSystemInterface $fileSystem, #[AutowireServiceClosure('logger.channel.file')] protected readonly \Closure $logger) {
}

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