function DrupalImage::getLibraries

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

Overrides CKEditorPluginBase::getLibraries

File

core/modules/ckeditor/src/Plugin/CKEditorPlugin/DrupalImage.php, line 31

Class

DrupalImage
Defines the "drupalimage" 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.