2013-05-24 16:47:45 +00:00
|
|
|
{#
|
|
|
|
/**
|
|
|
|
* @file
|
|
|
|
* Default theme implementation to display a region.
|
|
|
|
*
|
|
|
|
* Available variables:
|
|
|
|
* - content: The content for this region, typically blocks.
|
Issue #2546248 by scythian, XaviP, darrenwh, mikebell_, ingaro, urbanlegend, jhodgdon, davidhernandez, andypost, joelpittet, emma.maria, cdykstra, Cottser, LewisNyman, joachim: Use consistent style to mention HTML tags in code comments
2016-05-26 19:12:15 +00:00
|
|
|
* - attributes: HTML attributes for the region <div>.
|
2013-05-24 16:47:45 +00:00
|
|
|
* - region: The name of the region variable as defined in the theme's
|
|
|
|
* .info.yml file.
|
|
|
|
*
|
|
|
|
* @see template_preprocess_region()
|
|
|
|
*
|
|
|
|
* @ingroup themeable
|
|
|
|
*/
|
|
|
|
#}
|
|
|
|
{% if content %}
|
2015-09-10 11:17:38 +00:00
|
|
|
<div{{ attributes }}>
|
2013-05-24 16:47:45 +00:00
|
|
|
{{ content }}
|
|
|
|
</div>
|
|
|
|
{% endif %}
|