Skip to content
Snippets Groups Projects
Commit e2700acb authored by Ivica Puljic's avatar Ivica Puljic Committed by Ivica Puljic
Browse files

Issue #3386702 by pivica: Try to support menu_item_extras and mega menus

parent 75f38b49
No related branches found
No related tags found
No related merge requests found
......@@ -99,7 +99,10 @@
{%- else -%}
{{- link({'#markup': '<span class="' ~ item_title_class ~ '">' ~ item.title ~ '</span>'}, item.url, link_attributes) -}}
{%- endif -%}
{%- if item.below -%}
{# Support item.content rendering from drupal/menu_item_extras module. #}
{% if item.content %}
{{ item.content }}
{%- elseif item.below -%}
{{- menus.menu_links(menu_name, item.below, attributes, menu_level + 1, navbar_type, aria_ids) -}}
{%- endif -%}
</li>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment