menu_ui.overriding.html.twig

Same filename in other branches
  1. 9 core/modules/help_topics/help_topics/menu_ui.overriding.html.twig
  2. 10 core/modules/menu_ui/help_topics/menu_ui.overriding.html.twig
---
label: Reordering and disabling menu links
related:
  - menu_ui.menu_item_add
  - menu_ui.menu_operations
  - 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 %}Disable menu links or change the order and hierarchy of menu links.{% endtrans %}</p>
<h2>{% trans %}Steps{% endtrans %}</h2>
<ol>
  <li>{% trans %}In the <em>Manage</em> administration menu, navigate to <em>Structure</em> &gt; {{ structure_menu_link }}.{% endtrans %}</li>
  <li>{% trans %}Click <em>Edit menu</em> for the menu that you want to edit.{% endtrans %}</li>
  <li>{% trans %}Drag menu links into a new order, or check/uncheck <em>Enabled</em> to enable or disable menu links.{% endtrans %}</li>
  <li>{% trans %}Click <em>Save</em> to save your changes.{% endtrans %}</li>
</ol>

File

core/modules/menu_ui/help_topics/menu_ui.overriding.html.twig

View source
  1. ---
  2. label: Reordering and disabling menu links
  3. related:
  4. - menu_ui.menu_item_add
  5. - menu_ui.menu_operations
  6. - core.menus
  7. ---
  8. {% set structure_menu_text %}{% trans %}Menus{% endtrans %}{% endset %}
  9. {% set structure_menu_link = render_var(help_route_link(structure_menu_text, 'entity.menu.collection')) %}
  10. <h2>{% trans %}Goal{% endtrans %}</h2>
  11. <p>{% trans %}Disable menu links or change the order and hierarchy of menu links.{% endtrans %}</p>
  12. <h2>{% trans %}Steps{% endtrans %}</h2>
  13. <ol>
  14. <li>{% trans %}In the <em>Manage</em> administration menu, navigate to <em>Structure</em> &gt; {{ structure_menu_link }}.{% endtrans %}</li>
  15. <li>{% trans %}Click <em>Edit menu</em> for the menu that you want to edit.{% endtrans %}</li>
  16. <li>{% trans %}Drag menu links into a new order, or check/uncheck <em>Enabled</em> to enable or disable menu links.{% endtrans %}</li>
  17. <li>{% trans %}Click <em>Save</em> to save your changes.{% endtrans %}</li>
  18. </ol>

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.