block--system-menu-block--footer.html.twig

Same filename and directory in other branches
  1. 9 core/profiles/demo_umami/themes/umami/templates/components/navigation/block--system-menu-block--footer.html.twig
  2. 10 core/profiles/demo_umami/themes/umami/templates/components/navigation/block--system-menu-block--footer.html.twig
  3. 11.x core/profiles/demo_umami/themes/umami/templates/components/navigation/block--system-menu-block--footer.html.twig

Theme override for Menu footer block.

File

core/profiles/demo_umami/themes/umami/templates/components/navigation/block--system-menu-block--footer.html.twig

View source
  1. {#
  2. /**
  3. * @file
  4. * Theme override for Menu footer block.
  5. */
  6. #}
  7. {%
  8. set classes = [
  9. 'block',
  10. 'block-' ~ configuration.provider|clean_class,
  11. 'block-' ~ plugin_id|clean_class,
  12. 'menu-footer-wrapper',
  13. ]
  14. %}
  15. {% set title_classes = ['menu-footer__title'] %}
  16. <div{{ attributes.addClass(classes) }}>
  17. {{ title_prefix }}
  18. {% if label %}
  19. <h2{{ title_attributes.addClass(title_classes) }}>{{ label }}</h2>
  20. {% endif %}
  21. {{ title_suffix }}
  22. {% block content %}
  23. {{ content }}
  24. {% endblock %}
  25. </div>

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