You are here

public function Llama::getDependencies in Drupal 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 CKEditorPluginInterface::getDependencies

File

core/modules/ckeditor/tests/modules/src/Plugin/CKEditorPlugin/Llama.php, line 32

Class

Llama
Defines the "Llama" plugin, with a CKEditor "llama" feature.

Namespace

Drupal\ckeditor_test\Plugin\CKEditorPlugin

Code

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