function DrupalUploadImage::getDependencies in CKEditor Upload Image 8
Same name and namespace in other branches
- 8.2 src/Plugin/CKEditorPlugin/DrupalUploadImage.php \Drupal\ckeditor_uploadimage\Plugin\CKEditorPlugin\DrupalUploadImage::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
File
- src/
Plugin/ CKEditorPlugin/ DrupalUploadImage.php, line 29 - Contains \Drupal\ckeditor_uploadimage\Plugin\CKEditorPlugin\DrupalUploadImage.
Class
- DrupalUploadImage
- Defines the "templates" plugin.
Namespace
Drupal\ckeditor_uploadimage\Plugin\CKEditorPluginCode
function getDependencies(Editor $editor) {
return [
'uploadimage',
'uploadwidget',
'filetools',
'notificationaggregator',
'notification',
];
}