public function Imce::getDependencies in IMCE 8
Same name and namespace in other branches
- 8.2 src/Plugin/CKEditorPlugin/Imce.php \Drupal\imce\Plugin\CKEditorPlugin\Imce::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/ Imce.php, line 21
Class
- Imce
- Defines Imce plugin for CKEditor.
Namespace
Drupal\imce\Plugin\CKEditorPluginCode
public function getDependencies(Editor $editor) {
// Need drupalimage for drupallink support. See #2666596 .
return [
'drupalimage',
'drupalimagecaption',
];
}