You are here

public function DrupalImageStyle::getDependencies in Inline responsive images 8.2

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

src/Plugin/CKEditorPlugin/DrupalImageStyle.php, line 36
Contains \Drupal\inline_responsive_images\Plugin\CKEditorPlugin\DrupalImageStyle.

Class

DrupalImageStyle
Defines the "drupalimagestyle" plugin.

Namespace

Drupal\inline_responsive_images\Plugin\CKEditorPlugin

Code

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