function DrupalMediaLibrary::getLibraries

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

Overrides CKEditorPluginBase::getLibraries

File

core/modules/ckeditor/src/Plugin/CKEditorPlugin/DrupalMediaLibrary.php, line 95

Class

DrupalMediaLibrary
Defines the "drupalmedialibrary" plugin.

Namespace

Drupal\ckeditor\Plugin\CKEditorPlugin

Code

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

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