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. 8.9.x core/profiles/demo_umami/themes/umami/templates/components/navigation/block--system-menu-block--footer.html.twig
  3. 10 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. ]
  13. %}
  14. {% embed "umami:footer-block" with {
  15. attributes: attributes.addClass(classes),
  16. content,
  17. label,
  18. title_attributes,
  19. title_prefix,
  20. title_suffix,
  21. } only %}
  22. {% block content %}
  23. {% embed "umami:title" with {
  24. attributes: title_attributes.addClass('footer-block__title'),
  25. label: label ? label : content.field_title,
  26. title_prefix,
  27. title_suffix,
  28. } only %}
  29. {% block title_prefix %}
  30. {{ title_prefix }}
  31. {% endblock %}
  32. {% block title_suffix %}
  33. {{ title_suffix }}
  34. {% endblock %}
  35. {% endembed %}
  36. {{ content }}
  37. {% endblock %}
  38. {% endembed %}

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