Update core 8.3.0
This commit is contained in:
parent
da7a7918f8
commit
cd7a898e66
6144 changed files with 132297 additions and 87747 deletions
18
web/core/modules/layout_discovery/templates/layout.html.twig
Normal file
18
web/core/modules/layout_discovery/templates/layout.html.twig
Normal file
|
@ -0,0 +1,18 @@
|
|||
{#
|
||||
/**
|
||||
* @file
|
||||
* Template for a generic layout.
|
||||
*/
|
||||
#}
|
||||
{% set classes = [
|
||||
'layout--' ~ layout.id|clean_class,
|
||||
] %}
|
||||
{% if content %}
|
||||
<div{{ attributes.addClass(classes) }}>
|
||||
{% for region in layout.getRegionNames %}
|
||||
<div class="{{ 'region--' ~ region|clean_class }}">
|
||||
{{ content[region] }}
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
Reference in a new issue