menu-link-form.html.twig

Same filename in this branch
  1. 10 core/themes/claro/templates/menu-link-form.html.twig
  2. 10 core/modules/menu_ui/templates/menu-link-form.html.twig
Same filename in other branches
  1. 11.x core/themes/stable9/templates/admin/menu-link-form.html.twig
  2. 11.x core/themes/claro/templates/menu-link-form.html.twig
  3. 11.x core/modules/menu_ui/templates/menu-link-form.html.twig

Theme override for menu_link_form.

Two-column template for the menu link add/edit form.

This template will be used when a menu link form specifies 'menu_link_form' as its #theme callback. Otherwise, by default, menu_link add/edit forms will be themed by form.html.twig.

Available variables:

  • form: The menu link add/edit form.

File

core/themes/stable9/templates/admin/menu-link-form.html.twig

View source
  1. {#
  2. /**
  3. * @file
  4. * Theme override for menu_link_form.
  5. *
  6. * Two-column template for the menu link add/edit form.
  7. *
  8. * This template will be used when a menu link form specifies
  9. * 'menu_link_form' as its #theme callback. Otherwise, by default,
  10. * menu_link add/edit forms will be themed by form.html.twig.
  11. *
  12. * Available variables:
  13. * - form: The menu link add/edit form.
  14. */
  15. #}
  16. {{ form }}

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