layout-test-2col.html.twig
Same filename in other branches
Template for an example 2 column layout.
File
-
core/
modules/ system/ tests/ modules/ layout_test/ templates/ layout-test-2col.html.twig
View source
- {#
- /**
- * @file
- * Template for an example 2 column layout.
- */
- #}
- <div{{ attributes.addClass('layout-example-2col', 'clearfix') }}>
- <div {{ region_attributes.left.addClass('region-left') }}>
- {{ content.left }}
- </div>
- <div {{ region_attributes.right.addClass('region-right') }}>
- {{ content.right }}
- </div>
- </div>
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.