presto-8.x-2.2/themes/presto_theme/templates/system/region--navigation-collapsible.html.twig
themes/presto_theme/templates/system/region--navigation-collapsible.html.twig
{# /** * @file * Theme override to display a region. * * Available variables: * - content: The content for this region, typically blocks. * - attributes: HTML attributes for the region div. * - region: The name of the region variable as defined in the theme's * .info.yml file. * * @ingroup templates * * @see template_preprocess_region() */ #} {% set classes = [ 'region', 'region-' ~ region|clean_class, 'collapse', 'navbar-collapse', ] %} {% if content %} <div id="navbar-collapse" {{ attributes.addClass(classes) }}> {{ content }} </div> {% endif %}