public function MediaEmbedBase::getDependencies in CKEditor Media Embed Plugin 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/ MediaEmbedBase.php, line 27
Class
- MediaEmbedBase
- Defines the "Media Embed Base" plugin.
Namespace
Drupal\ckeditor_media_embed\Plugin\CKEditorPluginCode
public function getDependencies(Editor $editor) {
return [
'notificationaggregator',
];
}