public function CKEditorPluginBase::getDependencies in Drupal 8
Same name and namespace in other branches
- 9 core/modules/ckeditor/src/CKEditorPluginBase.php \Drupal\ckeditor\CKEditorPluginBase::getDependencies()
- 10 core/modules/ckeditor/src/CKEditorPluginBase.php \Drupal\ckeditor\CKEditorPluginBase::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 CKEditorPluginInterface::getDependencies
1 method overrides CKEditorPluginBase::getDependencies()
- DrupalMediaLibrary::getDependencies in core/
modules/ media_library/ src/ Plugin/ CKEditorPlugin/ DrupalMediaLibrary.php - Returns a list of plugins this plugin requires.
File
- core/
modules/ ckeditor/ src/ CKEditorPluginBase.php, line 43
Class
- CKEditorPluginBase
- Defines a base CKEditor plugin implementation.
Namespace
Drupal\ckeditorCode
public function getDependencies(Editor $editor) {
return [];
}