You are here

public function CKEditorPluginBase::getDependencies in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/ckeditor/src/CKEditorPluginBase.php \Drupal\ckeditor\CKEditorPluginBase::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

1 method overrides CKEditorPluginBase::getDependencies()
DrupalMediaLibrary::getDependencies in core/modules/media_library/src/Plugin/CKEditorPlugin/DrupalMediaLibrary.php
Returns a list of plugins this plugin requires.

File

core/modules/ckeditor/src/CKEditorPluginBase.php, line 82

Class

CKEditorPluginBase
Defines a base CKEditor plugin implementation.

Namespace

Drupal\ckeditor

Code

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