You are here

ds-3col-equal-width.html.twig in Display Suite 8.2

Display Suite 3 column template.

Available variables:

  • outer_wrapper: outer wrapper element
  • left_wrapper: wrapper element around left region
  • middle_wrapper: wrapper element around middle region
  • right_wrapper: wrapper element around right region
  • attributes: layout attributes
  • left_attributes: attributes for left region
  • middle_attributes: attributes for middle region
  • right_attributes: attributes for right region
  • left: content of left region
  • middle: content of middle region
  • right: content of right region

File

templates/ds-3col-equal-width.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Display Suite 3 column template.
  5. *
  6. * Available variables:
  7. * - outer_wrapper: outer wrapper element
  8. * - left_wrapper: wrapper element around left region
  9. * - middle_wrapper: wrapper element around middle region
  10. * - right_wrapper: wrapper element around right region
  11. * - attributes: layout attributes
  12. * - left_attributes: attributes for left region
  13. * - middle_attributes: attributes for middle region
  14. * - right_attributes: attributes for right region
  15. * - left: content of left region
  16. * - middle: content of middle region
  17. * - right: content of right region
  18. */
  19. #}
  20. <{{ outer_wrapper }}{{ attributes.addClass('ds-3col-equal', 'clearfix') }}>
  21. {{ title_suffix.contextual_links }}
  22. <{{ left_wrapper }}{{ left_attributes.addClass('group-left') }}>
  23. {{ left }}
  24. </{{ left_wrapper }}>
  25. <{{ middle_wrapper }}{{ middle_attributes.addClass('group-middle') }}>
  26. {{ middle }}
  27. </{{ middle_wrapper }}>
  28. <{{ right_wrapper }}{{ right_attributes.addClass('group-right') }}>
  29. {{ right }}
  30. </{{ right_wrapper }}>
  31. </{{ outer_wrapper }}>