
| Current Path : /var/www/html/musik/web/themes/contrib/bootstrap/templates/bootstrap/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/html/musik/web/themes/contrib/bootstrap/templates/bootstrap/bootstrap-dropdown.html.twig |
{#
/**
* @file
* Default theme implementation to display a Bootstrap Dropdown component.
*
* Available variables:
* - alignment: (optional) The alignment of the dropdown menu.
* - attributes: An array of HTML attributes intended to be added to the main
* container tag of this template.
* - items: The dropdown menu items.
* - toggle: The toggle element.
*
* @ingroup templates
*/
#}
{%
set classes = [
'btn-group',
alignment ? 'drop' ~ alignment|clean_class : 'dropdown',
]
%}
<div{{ attributes.addClass(classes) }}>
{{ toggle }}
{{ items }}
</div>