You are here

public function MediaUploader::__construct in Gutenberg 8

Same name and namespace in other branches
  1. 8.2 src/MediaUploader.php \Drupal\gutenberg\MediaUploader::__construct()

MediaUploader constructor.

Parameters

\Drupal\Core\File\FileSystemInterface $file_system: The file system service.

File

src/MediaUploader.php, line 30

Class

MediaUploader
Upload files from Gutenberg editor upload method.

Namespace

Drupal\gutenberg

Code

public function __construct(FileSystemInterface $file_system) {
  $this->fileSystem = $file_system;
}