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