public function MediaUploader::__construct in Gutenberg 8
Same name and namespace in other branches
- 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\gutenbergCode
public function __construct(FileSystemInterface $file_system) {
$this->fileSystem = $file_system;
}