render-example-add-div.html.twig

Same filename in other branches
  1. 3.x modules/render_example/templates/render-example-add-div.html.twig

Default theme implementation for render_example_add_div.

Wraps a div around the already-rendered #children.

Available variables:

  • element: Element that will be rendered.

File

modules/render_example/templates/render-example-add-div.html.twig

View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation for render_example_add_div.
  5. *
  6. * Wraps a div around the already-rendered #children.
  7. *
  8. * Available variables:
  9. * - element: Element that will be rendered.
  10. *
  11. * @ingroup themeable
  12. */
  13. #}
  14. <div class="render-example-wrapper-div">
  15. {{ element['#children'] }}
  16. </div>