indentation.html.twig in Zircon Profile 8.0
Same filename in this branch
Same filename and directory in other branches
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.
4 theme calls to indentation.html.twig
- BookAdminEditForm::bookAdminTableTree in core/
modules/ book/ src/ Form/ BookAdminEditForm.php - Helps build the main table in the book administration page form.
- FieldUiTable::tablePreRender in core/
modules/ field_ui/ src/ Element/ FieldUiTable.php - Performs pre-render tasks on field_ui_table elements.
- MenuForm::buildOverviewForm in core/
modules/ menu_ui/ src/ MenuForm.php - Form constructor to edit an entire menu tree at once.
- OverviewTerms::buildForm in core/
modules/ taxonomy/ src/ Form/ OverviewTerms.php - Form constructor.
File
core/modules/system/templates/indentation.html.twigView source
- {#
- /**
- * @file
- * 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.
- *
- * @ingroup themeable
- */
- #}
- {% for i in 1..size if size > 0 %}<div class="js-indentation indentation"> </div>{% endfor %}