annotate core/modules/system/templates/region.html.twig @ 19:fa3358dc1485 tip

Add ndrum files
author Chris Cannam
date Wed, 28 Aug 2019 13:14:47 +0100
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 %}