function varbase_editor_update_8003 in Varbase Editor 8.5
Same name and namespace in other branches
- 8.7 varbase_editor.install \varbase_editor_update_8003()
- 8.4 varbase_editor.install \varbase_editor_update_8003()
- 8.6 varbase_editor.install \varbase_editor_update_8003()
- 9.0.x varbase_editor.install \varbase_editor_update_8003()
Enable CKEditor media embed module.
File
- ./
varbase_editor.install, line 81 - Install, update and uninstall functions for the Varbase editor module.
Code
function varbase_editor_update_8003() {
if (!\Drupal::moduleHandler()
->moduleExists('ckeditor_media_embed')) {
\Drupal::service('module_installer')
->install([
'ckeditor_media_embed',
], FALSE);
}
}