Issue #2186743 by aspilicious: Remove last instance of 'menu_rebuild_needed'.

8.0.x
webchick 2014-02-06 23:09:46 -08:00
parent 1d8820345b
commit 0110b8edcb
1 changed files with 1 additions and 1 deletions

View File

@ -199,7 +199,7 @@ function hook_entity_bundle_info_alter(&$bundles) {
function hook_entity_bundle_create($entity_type, $bundle) {
// When a new bundle is created, the menu needs to be rebuilt to add the
// Field UI menu item tabs.
\Drupal::state()->set('menu_rebuild_needed', TRUE);
\Drupal::service('router.builder')->setRebuildNeeded();
}
/**