diff --git a/core/modules/menu/config/tour.tour.menu.yml b/core/modules/menu/config/tour.tour.menu.yml new file mode 100644 index 0000000..c417782 --- /dev/null +++ b/core/modules/menu/config/tour.tour.menu.yml @@ -0,0 +1,38 @@ +id: menu +module: menu +label: 'Menu Listing Page' +langcode: en +routes: + - route_name: menu.overview_page +tips: + menu-listing: + id: menu-listing + plugin: text + label: 'Menu listing page' + weight: 1 + body: 'View the menus available on your site. Menus are a collection of links arranged in a hierarchy.' + menu-add: + id: menu-add + plugin: text + label: 'Add a menu' + weight: 2 + attributes: + data-class: 'button-action' + body: 'Create a new collection of menu links.' + menu-actions: + id: menu-actions + plugin: text + label: 'Menu actions' + weight: 3 + attributes: + data-class: 'dropbutton-widget' + body: 'Click edit to rearrange links, change the menu name or add links.' + location: 'left' + menu-settings: + id: menu-settings + plugin: text + label: 'Menu settings' + weight: 4 + attributes: + data-class: 'tabs__tab:nth-child(2)' + body: 'Update the source menus for main links and secondary links.' diff --git a/core/modules/menu/lib/Drupal/menu/Tests/MenuTourTest.php b/core/modules/menu/lib/Drupal/menu/Tests/MenuTourTest.php new file mode 100644 index 0000000..3b30671 --- /dev/null +++ b/core/modules/menu/lib/Drupal/menu/Tests/MenuTourTest.php @@ -0,0 +1,57 @@ + array(), + ); + + public static function getInfo() { + return array( + 'name' => 'Menu tour tests', + 'description' => 'Tests the Menu tour.', + 'group' => 'Tour', + ); + } + +}