public function CodeMirror::getDependencies in CKEditor CodeMirror 8
Same name and namespace in other branches
- 8.2 src/Plugin/CKEditorPlugin/CodeMirror.php \Drupal\ckeditor_codemirror\Plugin\CKEditorPlugin\CodeMirror::getDependencies()
Returns a list of plugins this plugin requires.
Parameters
\Drupal\editor\Entity\Editor $editor: A configured text editor object.
Return value
array An unindexed array of plugin names this plugin requires. Each plugin is is identified by its annotated ID.
Overrides CKEditorPluginBase::getDependencies
File
- src/
Plugin/ CKEditorPlugin/ CodeMirror.php, line 32
Class
- CodeMirror
- Defines the "CodeMirror" plugin.
Namespace
Drupal\ckeditor_codemirror\Plugin\CKEditorPluginCode
public function getDependencies(Editor $editor) {
return [];
}