region--header.html.twig in Drupal 10
Same filename in this branch
Same filename and directory in other branches
Bartik's theme implementation to display a header 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.
See also
File
core/themes/bartik/templates/region--header.html.twigView source
- {% extends "region.html.twig" %}
- {#
- /**
- * @file
- * Bartik's theme implementation to display a header 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.
- *
- * @see template_preprocess_region()
- */
- #}
- {% set attributes = attributes.addClass('clearfix') %}