block--system-menu-block--footer.html.twig
Same filename in other branches
- 9 core/profiles/demo_umami/themes/umami/templates/components/navigation/block--system-menu-block--footer.html.twig
- 8.9.x core/profiles/demo_umami/themes/umami/templates/components/navigation/block--system-menu-block--footer.html.twig
- 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
- {#
- /**
- * @file
- * Theme override for Menu footer block.
- */
- #}
- {%
- set classes = [
- 'block',
- 'block-' ~ configuration.provider|clean_class,
- 'block-' ~ plugin_id|clean_class,
- ]
- %}
-
- {% embed "umami:footer-block" with {
- attributes: attributes.addClass(classes),
- content,
- label,
- title_attributes,
- title_prefix,
- title_suffix,
- } only %}
- {% block content %}
- {% embed "umami:title" with {
- attributes: title_attributes.addClass('footer-block__title'),
- label: label ? label : content.field_title,
- title_prefix,
- title_suffix,
- } only %}
- {% block title_prefix %}
- {{ title_prefix }}
- {% endblock %}
- {% block title_suffix %}
- {{ title_suffix }}
- {% endblock %}
- {% endembed %}
- {{ content }}
- {% endblock %}
- {% endembed %}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.