annotate core/modules/system/templates/region.html.twig @ 9:1fc0ff908d1f

Add another data file
author Chris Cannam
date Mon, 05 Feb 2018 12:34:32 +0000
parents 4c8ae668cc8c
children
rev   line source
Chris@0 1 {#
Chris@0 2 /**
Chris@0 3 * @file
Chris@0 4 * Default theme implementation to display a region.
Chris@0 5 *
Chris@0 6 * Available variables:
Chris@0 7 * - content: The content for this region, typically blocks.
Chris@0 8 * - attributes: HTML attributes for the region <div>.
Chris@0 9 * - region: The name of the region variable as defined in the theme's
Chris@0 10 * .info.yml file.
Chris@0 11 *
Chris@0 12 * @see template_preprocess_region()
Chris@0 13 *
Chris@0 14 * @ingroup themeable
Chris@0 15 */
Chris@0 16 #}
Chris@0 17 {% if content %}
Chris@0 18 <div{{ attributes }}>
Chris@0 19 {{ content }}
Chris@0 20 </div>
Chris@0 21 {% endif %}