region--background-image.html.twig in Background Image 2.0.x
Same filename and directory in other branches
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.
See also
File
templates/region--background-image.html.twigView source
- {#
- /**
- * @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()
- */
- #}
- {% if content %}
- <div class="{{ base_class }}-wrapper">
- {{ content }}
- </div>
- {% endif %}