layout-test-plugin.html.twig

Same filename in other branches
  1. 8.9.x core/modules/system/tests/modules/layout_test/templates/layout-test-plugin.html.twig
  2. 10 core/modules/system/tests/modules/layout_test/templates/layout-test-plugin.html.twig
  3. 11.x core/modules/system/tests/modules/layout_test/templates/layout-test-plugin.html.twig

Template for layout_test_plugin layout.

File

core/modules/system/tests/modules/layout_test/templates/layout-test-plugin.html.twig

View source
  1. {#
  2. /**
  3. * @file
  4. * Template for layout_test_plugin layout.
  5. */
  6. #}
  7. <div{{ attributes.addClass('layout-test-plugin', 'clearfix') }}>
  8. <div>
  9. <span class="setting-1-label">Blah: </span>
  10. {{ settings.setting_1 }}
  11. </div>
  12. <div {{ region_attributes.main.addClass('region-main') }}>
  13. {{ content.main }}
  14. </div>
  15. </div>

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.