eleven-8.x-1.0-beta5/eleven/templates/component/navigation/dropbutton/dropbutton-wrapper.html.twig
eleven/templates/component/navigation/dropbutton/dropbutton-wrapper.html.twig
{#
/**
* @file
* Theme override for a dropbutton wrapper.
*
* Available variables:
* - children: Contains the child elements of the dropbutton menu.
*
* @see template_preprocess()
*/
#}
{% if children %}
{# we dont want dropbuttons on node #}
{% if view_edit %}
<div class="dropbutton-wrapper">
<div class="dropbutton-widget">
{# links--dropbutton.html.twig #}
{{ children }}
</div>
</div>
{% else %}
{{ children }}
{% endif %}
{% endif %}
