function EditorImageDialog::create
Same name in other branches
- 8.9.x core/modules/editor/src/Form/EditorImageDialog.php \Drupal\editor\Form\EditorImageDialog::create()
- 10 core/modules/editor/src/Form/EditorImageDialog.php \Drupal\editor\Form\EditorImageDialog::create()
Overrides FormBase::create
File
-
core/
modules/ editor/ src/ Form/ EditorImageDialog.php, line 44
Class
- EditorImageDialog
- Provides an image dialog for text editors.
Namespace
Drupal\editor\FormCode
public static function create(ContainerInterface $container) {
return new static($container->get('entity_type.manager')
->getStorage('file'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.