function EditorImageDialog::__construct

Same name in other branches
  1. 9 core/modules/editor/src/Form/EditorImageDialog.php \Drupal\editor\Form\EditorImageDialog::__construct()
  2. 8.9.x 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 42

Class

EditorImageDialog
Provides an image dialog for text editors.

Namespace

Drupal\editor\Form

Code

public function __construct(EntityStorageInterface $file_storage) {
    @trigger_error(__NAMESPACE__ . '\\EditorImageDialog is deprecated in drupal:10.1.0 and is removed from drupal:11.0.0. There is no replacement. See https://www.drupal.org/node/3291493', E_USER_DEPRECATED);
    $this->fileStorage = $file_storage;
}

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