menu_ui.menu_operations.html.twig
Same filename in other branches
--- label: 'Creating a menu' related: - menu_ui.content_type_configuration - core.menus --- {% set structure_menu_text %}{% trans %}Menus{% endtrans %}{% endset %} {% set structure_menu_link = render_var(help_route_link(structure_menu_text, 'entity.menu.collection')) %} <h2>{% trans %}Goal{% endtrans %}</h2> <p>{% trans %}Create a new menu.{% endtrans %}</p> <h2>{% trans %}Steps{% endtrans %}</h2> <ol> <li>{% trans %}In the <em>Manage</em> administration menu, navigate <em>Structure</em> > {{ structure_menu_link }}.{% endtrans %}</li> <li>{% trans %}Click <em>Add menu</em>.{% endtrans %}</li> <li>{% trans %}Enter the title for the menu, which is used as the default block title if the menu is displayed as a block. If desired, also edit the machine name of the menu, which is by default derived from the title.{% endtrans %}</li> <li>{% trans %}Enter an administrative summary, which is displayed on the <em>Menus</em> page.{% endtrans %}</li> <li>{% trans %}If your site has more than one language, choose the language for the menu.{% endtrans %}</li> <li>{% trans %}Click <em>Save</em>. You will be on the menu editing page, ready to add links to the menu if the core Custom Menu Links module is installed; see related topics for further tasks.{% endtrans %}</li> </ol>
File
-
core/
modules/ menu_ui/ help_topics/ menu_ui.menu_operations.html.twig
View source
- ---
- label: 'Creating a menu'
- related:
- - menu_ui.content_type_configuration
- - core.menus
- ---
- {% set structure_menu_text %}{% trans %}Menus{% endtrans %}{% endset %}
- {% set structure_menu_link = render_var(help_route_link(structure_menu_text, 'entity.menu.collection')) %}
- <h2>{% trans %}Goal{% endtrans %}</h2>
- <p>{% trans %}Create a new menu.{% endtrans %}</p>
- <h2>{% trans %}Steps{% endtrans %}</h2>
- <ol>
- <li>{% trans %}In the <em>Manage</em> administration menu, navigate <em>Structure</em> > {{ structure_menu_link }}.{% endtrans %}</li>
- <li>{% trans %}Click <em>Add menu</em>.{% endtrans %}</li>
- <li>{% trans %}Enter the title for the menu, which is used as the default block title if the menu is displayed as a block. If desired, also edit the machine name of the menu, which is by default derived from the title.{% endtrans %}</li>
- <li>{% trans %}Enter an administrative summary, which is displayed on the <em>Menus</em> page.{% endtrans %}</li>
- <li>{% trans %}If your site has more than one language, choose the language for the menu.{% endtrans %}</li>
- <li>{% trans %}Click <em>Save</em>. You will be on the menu editing page, ready to add links to the menu if the core Custom Menu Links module is installed; see related topics for further tasks.{% endtrans %}</li>
- </ol>
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.