public function Nbsp::getDependencies in CKEditor Non-breaking space Plugin ( ) 8
Same name and namespace in other branches
- 8.2 src/Plugin/CKEditorPlugin/Nbsp.php \Drupal\nbsp\Plugin\CKEditorPlugin\Nbsp::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/ Nbsp.php, line 27
Class
- Nbsp
- Defines the "NBSP" plugin.
Namespace
Drupal\nbsp\Plugin\CKEditorPluginCode
public function getDependencies(Editor $editor) {
return [];
}