You are here

function UploadWidget::getDependencies in CKEditor Upload Image 8

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

Class

UploadWidget
Defines the "templates" plugin.

Namespace

Drupal\ckeditor_uploadimage\Plugin\CKEditorPlugin

Code

function getDependencies(Editor $editor) {
  return [];
}