You are here

test-layout.html.twig in Layout Section Classes 8

<section {{ attributes.addClass('section') }}>
  <div {{ region_attributes.content.addClass('Some region classes') }}>
    {{ content.content }}
  </div>
</section>

File

tests/modules/layout_section_classes_test/templates/test-layout.html.twig
View source
  1. <section {{ attributes.addClass('section') }}>
  2. <div {{ region_attributes.content.addClass('Some region classes') }}>
  3. {{ content.content }}
  4. </div>
  5. </section>