diff --git a/core/modules/system/system.module b/core/modules/system/system.module index 8a762ee..b94fda6 100644 --- a/core/modules/system/system.module +++ b/core/modules/system/system.module @@ -1056,6 +1056,11 @@ function system_menu() { ); } + // SystemBundle is not available in the installer. + // @see http://drupal.org/node/1798732 + if (!drupal_container()->has('plugin.manager.system.plugin_ui')) { + return $items; + } foreach (drupal_container()->get('plugin.manager.system.plugin_ui')->getDefinitions() as $plugin_id => $plugin) { if ($plugin['menu'] === TRUE) { $items[$plugin['path'] . '/' . $plugin_id . '/' . $plugin['suffix']] = array(