checkboxes.html.twig
Default theme implementation for a 'checkboxes' #type form element.
Available variables
- attributes: A list of HTML attributes for the wrapper element.
- children: The rendered checkboxes.
See also
template_preprocess_checkboxes()
File
- 
              core/modules/ system/ templates/ checkboxes.html.twig 
View source
- {#
- /**
-  * @file
-  * Default theme implementation for a 'checkboxes' #type form element.
-  *
-  * Available variables
-  * - attributes: A list of HTML attributes for the wrapper element.
-  * - children: The rendered checkboxes.
-  *
-  * @see template_preprocess_checkboxes()
-  *
-  * @ingroup themeable
-  */
-  @todo: remove this file once https://www.drupal.org/node/1819284 is resolved.
-  This is identical to core/modules/system/templates/container.html.twig
- #}
- <div{{ attributes.addClass('form-checkboxes') }}>{{ children }}</div>
Related topics
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
