You are here

ds-1col-wrapper.html.twig in Display Suite 8.2

Display Suite 1 column wrapper template.

Available variables:

  • outer_wrapper: outer wrapper element
  • ds_content_wrapper: wrapper around content
  • attributes: outer wrapper attributes
  • ds_content_attributes: attributes for ds_content region
  • ds_content: content of ds_content region

File

templates/ds-1col-wrapper.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Display Suite 1 column wrapper template.
  5. *
  6. * Available variables:
  7. * - outer_wrapper: outer wrapper element
  8. * - ds_content_wrapper: wrapper around content
  9. * - attributes: outer wrapper attributes
  10. * - ds_content_attributes: attributes for ds_content region
  11. * - ds_content: content of ds_content region
  12. */
  13. #}
  14. <{{ outer_wrapper }}{{ attributes.addClass('ds-1col', 'clearfix') }}>
  15. {{ title_suffix.contextual_links }}
  16. <{{ ds_content_wrapper }}{{ ds_content_attributes }}>
  17. {{ ds_content }}
  18. </{{ ds_content_wrapper }}>
  19. </{{ outer_wrapper }}>