You are here

function DrupalUploadImageImce::getDependencies in CKEditor Upload Image 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/CKEditorPlugin/DrupalUploadImageImce.php \Drupal\ckeditor_uploadimage\Plugin\CKEditorPlugin\DrupalUploadImageImce::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/DrupalUploadImageImce.php, line 29
Contains \Drupal\ckeditor_uploadimage\Plugin\CKEditorPlugin\DrupalUploadImageImce.

Class

DrupalUploadImageImce
Defines the "templates" plugin.

Namespace

Drupal\ckeditor_uploadimage\Plugin\CKEditorPlugin

Code

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