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