public static function CKEditor::create in Drupal 10
Same name and namespace in other branches
- 8 core/modules/ckeditor/src/Plugin/Editor/CKEditor.php \Drupal\ckeditor\Plugin\Editor\CKEditor::create()
- 9 core/modules/ckeditor/src/Plugin/Editor/CKEditor.php \Drupal\ckeditor\Plugin\Editor\CKEditor::create()
File
- core/
modules/ ckeditor/ src/ Plugin/ Editor/ CKEditor.php, line 122
Class
- CKEditor
- Defines a CKEditor-based text editor for Drupal.
Namespace
Drupal\ckeditor\Plugin\EditorCode
public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) {
return new static($configuration, $plugin_id, $plugin_definition, $container
->get('plugin.manager.ckeditor.plugin'), $container
->get('module_handler'), $container
->get('language_manager'), $container
->get('renderer'), $container
->get('state'), $container
->get('file_url_generator'), $container
->get('extension.list.module'));
}