You are here

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

Same name and namespace in other branches
  1. 8 codesnippetgeshi/src/Plugin/CKEditorPlugin/AjaxCKEditorPlugin.php \Drupal\codesnippetgeshi\Plugin\CKEditorPlugin\AjaxCKEditorPlugin::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/AjaxCKEditorPlugin.php, line 49

Class

AjaxCKEditorPlugin
Defines the "ajax" plugin.

Namespace

Drupal\codesnippetgeshi\Plugin\CKEditorPlugin

Code

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