public function Wordcount::getDependencies in CKEditor Wordcount 2.x
Same name and namespace in other branches
- 8 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\CKEditorPluginCode
public function getDependencies(Editor $editor) {
return [
'notification',
];
}