You are here

public function CodeSnippetGeshiCKEditorButton::getDependencies in GeSHi Filter for syntax highlighting 8

Same name and namespace in other branches
  1. 8.2 codesnippetgeshi/src/Plugin/CKEditorPlugin/CodeSnippetGeshiCKEditorButton.php \Drupal\codesnippetgeshi\Plugin\CKEditorPlugin\CodeSnippetGeshiCKEditorButton::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 CKEditorPluginBase::getDependencies

File

codesnippetgeshi/src/Plugin/CKEditorPlugin/CodeSnippetGeshiCKEditorButton.php, line 48

Class

CodeSnippetGeshiCKEditorButton
Defines the "codesnippetgeshi" plugin.

Namespace

Drupal\codesnippetgeshi\Plugin\CKEditorPlugin

Code

public function getDependencies(Editor $editor) {
  return [
    'xml',
    'ajax',
    'codesnippet',
  ];
}