public function Linebreaks::getDependencies in Wysiwyg Linebreaks 8
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/ Linebreaks.php, line 36
Class
- Linebreaks
- Defines the "linebreaks" plugin.
Namespace
Drupal\wysiwyg_linebreaks\Plugin\CKEditorPluginCode
public function getDependencies(Editor $editor) {
return [];
}