You are here

indentation.html.twig in Zircon Profile 8.0

Default theme implementation for a set of indentation divs.

These <div> tags are used for drag and drop tables.

Available variables:

  • size: Optional. The number of indentations to create.

File

core/modules/system/templates/indentation.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation for a set of indentation divs.
  5. *
  6. * These <div> tags are used for drag and drop tables.
  7. *
  8. * Available variables:
  9. * - size: Optional. The number of indentations to create.
  10. *
  11. * @ingroup themeable
  12. */
  13. #}
  14. {% for i in 1..size if size > 0 %}<div class="js-indentation indentation">&nbsp;</div>{% endfor %}

Related topics