public function EditorImageDialog::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/editor/src/Form/EditorImageDialog.php \Drupal\editor\Form\EditorImageDialog::__construct()
Constructs a form object for image dialog.
Parameters
\Drupal\Core\Entity\EntityStorageInterface $file_storage: The file storage service.
File
- core/
modules/ editor/ src/ Form/ EditorImageDialog.php, line 39 - Contains \Drupal\editor\Form\EditorImageDialog.
Class
- EditorImageDialog
- Provides an image dialog for text editors.
Namespace
Drupal\editor\FormCode
public function __construct(EntityStorageInterface $file_storage) {
$this->fileStorage = $file_storage;
}