You are here

public function CodeSnippetGeshiCKEditorButton::getLibraries in GeSHi Filter for syntax highlighting 8.2

Same name and namespace in other branches
  1. 8 codesnippetgeshi/src/Plugin/CKEditorPlugin/CodeSnippetGeshiCKEditorButton.php \Drupal\codesnippetgeshi\Plugin\CKEditorPlugin\CodeSnippetGeshiCKEditorButton::getLibraries()

Returns a list of libraries this plugin requires.

These libraries will be attached to the text_format element on which the editor is being loaded.

Parameters

\Drupal\editor\Entity\Editor $editor: A configured text editor object.

Return value

array An array of libraries suitable for usage in a render API #attached property.

Overrides CKEditorPluginBase::getLibraries

File

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

Class

CodeSnippetGeshiCKEditorButton
Defines the "codesnippetgeshi" plugin.

Namespace

Drupal\codesnippetgeshi\Plugin\CKEditorPlugin

Code

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