You are here

function DrupalUploadImage::getDependencies in CKEditor Upload Image 8.2

Same name and namespace in other branches
  1. 8 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 30
Contains \Drupal\ckeditor_uploadimage\Plugin\CKEditorPlugin\DrupalUploadImage.

Class

DrupalUploadImage
Defines the "templates" plugin.

Namespace

Drupal\ckeditor_uploadimage\Plugin\CKEditorPlugin

Code

function getDependencies(Editor $editor) {
  return [
    'uploadimage',
    'uploadwidget',
    'filetools',
    'notificationaggregator',
    'notification',
  ];
}