diff --git a/core/modules/menu/menu.module b/core/modules/menu/menu.module index b82a8b4..6dd934c 100644 --- a/core/modules/menu/menu.module +++ b/core/modules/menu/menu.module @@ -34,20 +34,21 @@ function menu_help($path, $arg) { case 'admin/help#menu': $output = ''; $output .= '
' . t('The Menu module provides an interface for managing menus. A menu is a hierarchical collection of links, which can be within or external to the site, generally used for navigation. Each menu is rendered in a block that can be enabled and positioned through the Blocks administration page. You can view and manage menus on the Menus administration page. For more information, see the online handbook entry for the Menu module.', array('@blocks' => url('admin/structure/block'), '@menus' => url('admin/structure/menu'), '@menu' => 'http://drupal.org/documentation/modules/menu/')) . '
'; + $output .= '' . t('The Menu module provides an interface for managing menus. A menu is a hierarchical collection of links, which can be within or external to the site, generally used for navigation. For more information, see the online documentation for the Menu module.', array('!menu' => 'https://drupal.org/documentation/modules/menu/')) . '
'; $output .= '' . t('You can enable the newly-created block for this menu on the Blocks administration page.', array('@blocks' => url('admin/structure/block'))) . '
'; } - if ($path == 'admin/structure/menu' && \Drupal::moduleHandler()->moduleExists('block')) { - return '' . t('Each menu has a corresponding block that is managed on the Blocks administration page.', array('@blocks' => url('admin/structure/block'))) . '
'; + if ($path == 'admin/structure/menu/add' && \Drupal::moduleHandler()->moduleExists('block')) { + return '' . t('You can enable the newly-created block for this menu on the Block layout page.', array('!blocks' => \Drupal::url('block.admin_display'))) . '
'; + } + elseif ($path == 'admin/structure/menu' && \Drupal::moduleHandler()->moduleExists('block')) { + return '' . t('Each menu has a corresponding block that is managed on the Block layout page.', array('!blocks' => \Drupal::url('block.admin_display'))) . '
'; } }