function varbase_update_8038 in Varbase: The Ultimate Drupal CMS Starter Kit (Bootstrap Ready) 8.4
Enable Entity clone module.
File
- ./
varbase.install, line 488 - Install, update and uninstall functions for the Varbase installation profile.
Code
function varbase_update_8038() {
if (!\Drupal::moduleHandler()
->moduleExists('entity_clone')) {
\Drupal::service('module_installer')
->install([
'entity_clone',
], FALSE);
}
}