function menu_ui_install in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/menu_ui/menu_ui.install \menu_ui_install()
Implements hook_install().
File
- core/
modules/ menu_ui/ menu_ui.install, line 11 - Install, update and uninstall functions for the menu_ui module.
Code
function menu_ui_install() {
// Rebuild all the menu data.
// @todo - remove this when we understand why removing it breaks the
// standard install profile, possibly need to be handled in
// \Drupal\Core\Extension\ModuleHandler::install().
// @see https://www.drupal.org/node/2181151
\Drupal::service('router.builder')
->rebuild();
}