unwrapped-container.html.twig in Open Social 8.4
Same filename and directory in other branches
- 8.9 modules/social_features/social_user/templates/unwrapped-container.html.twig
- 8.5 modules/social_features/social_user/templates/unwrapped-container.html.twig
- 8.6 modules/social_features/social_user/templates/unwrapped-container.html.twig
- 8.7 modules/social_features/social_user/templates/unwrapped-container.html.twig
- 8.8 modules/social_features/social_user/templates/unwrapped-container.html.twig
- 10.3.x modules/social_features/social_user/templates/unwrapped-container.html.twig
- 10.0.x modules/social_features/social_user/templates/unwrapped-container.html.twig
- 10.1.x modules/social_features/social_user/templates/unwrapped-container.html.twig
- 10.2.x modules/social_features/social_user/templates/unwrapped-container.html.twig
Default theme implementation of an unwrapped container.
Used for grouped form items. Can also be used as a theme wrapper for any renderable element, for when this would create problems otherwise such as in an item_list element. See \Drupal\Core\Render\Element\RenderElement for more information on the #theme_wrappers render array property, and \Drupal\Core\Render\Element\container for usage of the container render element.
This element directly uses the Container element and removes the div by not adding it in this template.
Available variables:
- attributes: HTML attributes for the containing element.
- children: The rendered child elements of the container.
- has_parent: A flag to indicate that the container has one or more parent containers.
See also
File
modules/social_features/social_user/templates/unwrapped-container.html.twigView source
- {#
- /**
- * @file
- * Default theme implementation of an unwrapped container.
- *
- * Used for grouped form items. Can also be used as a theme wrapper for any
- * renderable element, for when this would create problems otherwise such as in
- * an item_list element.
- * See \Drupal\Core\Render\Element\RenderElement for more
- * information on the #theme_wrappers render array property, and
- * \Drupal\Core\Render\Element\container for usage of the container render
- * element.
- *
- * This element directly uses the Container element and removes the div by not
- * adding it in this template.
- *
- * Available variables:
- * - attributes: HTML attributes for the containing element.
- * - children: The rendered child elements of the container.
- * - has_parent: A flag to indicate that the container has one or more parent
- containers.
- *
- * @see template_preprocess_unwrapped_container()
- *
- * @ingroup themeable
- */
- #}
- {{ children }}