You are here

public function A11yCheckerPlugin::getDependencies in CKEditor Accessibility Checker 8

Same name and namespace in other branches
  1. 7 src/Plugin/CKEditorPlugin/A11yCheckerPlugin.php \Drupal\ckeditor_a11ychecker\Plugin\CKEditorPlugin\A11yCheckerPlugin::getDependencies()
  2. 2.0.x src/Plugin/CKEditorPlugin/A11yCheckerPlugin.php \Drupal\ckeditor_a11ychecker\Plugin\CKEditorPlugin\A11yCheckerPlugin::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 CKEditorPluginBase::getDependencies

File

src/Plugin/CKEditorPlugin/A11yCheckerPlugin.php, line 23

Class

A11yCheckerPlugin
Defines the "a11ychecker" plugin.

Namespace

Drupal\ckeditor_a11ychecker\Plugin\CKEditorPlugin

Code

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