You are here

public function WidgetTemplateMenu::getDependencies in CKEditor Widgets 8

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 CKEditorPluginBase::getDependencies

File

src/Plugin/CKEditorPlugin/WidgetTemplateMenu.php, line 33
Definition of \Drupal\ckeditor_widgets\Plugin\CKEditorPlugin\AnchorLink.

Class

WidgetTemplateMenu
Defines the "widgettemplatemenu" plugin.

Namespace

Drupal\ckeditor_widgets\Plugin\CKEditorPlugin

Code

public function getDependencies(Editor $editor) {
  return array();
}