function EditorMediaDialog::create
Same name in other branches
- 9 core/modules/media/src/Form/EditorMediaDialog.php \Drupal\media\Form\EditorMediaDialog::create()
- 8.9.x core/modules/media/src/Form/EditorMediaDialog.php \Drupal\media\Form\EditorMediaDialog::create()
Overrides FormBase::create
File
-
core/
modules/ media/ src/ Form/ EditorMediaDialog.php, line 69
Class
- EditorMediaDialog
- Provides a media embed dialog for text editors.
Namespace
Drupal\media\FormCode
public static function create(ContainerInterface $container) {
return new static($container->get('entity.repository'), $container->get('entity_display.repository'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.