You are here

public function Wordcount::getDependencies in CKEditor Wordcount 8

Same name and namespace in other branches
  1. 2.x src/Plugin/CKEditorPlugin/Wordcount.php \Drupal\ckwordcount\Plugin\CKEditorPlugin\Wordcount::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/Wordcount.php, line 24

Class

Wordcount
Defines the "wordcount" plugin.

Namespace

Drupal\ckwordcount\Plugin\CKEditorPlugin

Code

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