workspace-add-list.html.twig in Workspace 8
Default theme implementation to present a list of custom Workspace types.
Available variables:
- types: A collection of all the available custom Workspace types.
Each Workspace type contains the following:
- link: A link to add a Workspace of this type.
See also
1 theme call to workspace-add-list.html.twig
- WorkspaceController::add in src/
Controller/ WorkspaceController.php
File
templates/workspace-add-list.html.twigView source
- {#
- /**
- * @file
- * Default theme implementation to present a list of custom Workspace types.
- *
- * Available variables:
- * - types: A collection of all the available custom Workspace types.
- * Each Workspace type contains the following:
- * - link: A link to add a Workspace of this type.
- *
- * @see template_preprocess_block_content_add_list()
- *
- * @ingroup themeable
- */
- #}
- <ul class="admin-list">
- {% for type in types %}
- <li class="clearfix">
- <a href="{{ type.url }}"><span class="label">{{ type.label }}</span></a>
- </li>
- {% endfor %}
- </ul>