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