You are here

public function DrupalMedia::getDependencies in Drupal 8

Same name and namespace in other branches
  1. 9 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/media/src/Plugin/CKEditorPlugin/DrupalMedia.php, line 74

Class

DrupalMedia
Defines the "drupalmedia" plugin.

Namespace

Drupal\media\Plugin\CKEditorPlugin

Code

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