function DrupalMedia::getDependencies

Same name and namespace in other branches
  1. 8.9.x core/modules/media/src/Plugin/CKEditorPlugin/DrupalMedia.php \Drupal\media\Plugin\CKEditorPlugin\DrupalMedia::getDependencies()

Returns a list of plugins this plugin requires.

Parameters

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

Return value

array An unindexed array of plugin names this plugin requires. Each plugin is is identified by its annotated ID.

Overrides CKEditorPluginInterface::getDependencies

File

core/modules/ckeditor/src/Plugin/CKEditorPlugin/DrupalMedia.php, line 75

Class

DrupalMedia
Defines the "drupalmedia" plugin.

Namespace

Drupal\ckeditor\Plugin\CKEditorPlugin

Code

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

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