You are here

public function Templates::getDependencies in Wysiwyg API template plugin 3.0.x

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

Class

Templates
Defines the CKEditor Templates plugin.

Namespace

Drupal\wysiwyg_template\Plugin\CKEditorPlugin

Code

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