diff --git a/core/modules/menu/menu.module b/core/modules/menu/menu.module index 9b5460d..3796bbd 100644 --- a/core/modules/menu/menu.module +++ b/core/modules/menu/menu.module @@ -152,9 +152,8 @@ function menu_entity_info_alter(&$entity_info) { 'default' => 'Drupal\menu\MenuFormController', ); if (isset($entity_info['menu_link'])) { - // During upgrades from 7.x to 8.x the menu_link module is enabled. Set the - // menu_link key because calls to entity_info() before this occurs will not - // have it set. + // During upgrades from 7.x to 8.x the menu_link module is enabled. Calls + // to entity_info() before this occurs will not have the menu_link key set. $entity_info['menu_link']['entity_keys']['bundle'] = 'menu_name'; } }