public function CKEditor::__construct in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/modules/ckeditor/src/Plugin/Editor/CKEditor.php \Drupal\ckeditor\Plugin\Editor\CKEditor::__construct()
Constructs a Drupal\Component\Plugin\PluginBase object.
Parameters
array $configuration: A configuration array containing information about the plugin instance.
string $plugin_id: The plugin_id for the plugin instance.
mixed $plugin_definition: The plugin implementation definition.
\Drupal\ckeditor\CKEditorPluginManager $ckeditor_plugin_manager: The CKEditor plugin manager.
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler to invoke hooks on.
\Drupal\Core\Language\LanguageManagerInterface $language_manager: The language manager.
\Drupal\Core\Render\RendererInterface $renderer: The renderer.
Overrides PluginBase::__construct
File
- core/
modules/ ckeditor/ src/ Plugin/ Editor/ CKEditor.php, line 83 - Contains \Drupal\ckeditor\Plugin\Editor\CKEditor.
Class
- CKEditor
- Defines a CKEditor-based text editor for Drupal.
Namespace
Drupal\ckeditor\Plugin\EditorCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, CKEditorPluginManager $ckeditor_plugin_manager, ModuleHandlerInterface $module_handler, LanguageManagerInterface $language_manager, RendererInterface $renderer) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->ckeditorPluginManager = $ckeditor_plugin_manager;
$this->moduleHandler = $module_handler;
$this->languageManager = $language_manager;
$this->renderer = $renderer;
}