function DrupalLink::getLibraries

Same name in other branches
  1. 9 core/modules/ckeditor/src/Plugin/CKEditorPlugin/DrupalLink.php \Drupal\ckeditor\Plugin\CKEditorPlugin\DrupalLink::getLibraries()

Overrides CKEditorPluginBase::getLibraries

File

core/modules/ckeditor/src/Plugin/CKEditorPlugin/DrupalLink.php, line 29

Class

DrupalLink
Defines the "drupallink" plugin.

Namespace

Drupal\ckeditor\Plugin\CKEditorPlugin

Code

public function getLibraries(Editor $editor) {
    return [
        'core/drupal.ajax',
    ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.