annotate core/themes/classy/templates/form/checkboxes.html.twig @ 5:12f9dff5fda9
tip
Update to Drupal core 8.7.1
author |
Chris Cannam |
date |
Thu, 09 May 2019 15:34:47 +0100 |
parents |
c75dbcec494b |
children |
|
rev |
line source |
Chris@0
|
1 {#
|
Chris@0
|
2 /**
|
Chris@0
|
3 * @file
|
Chris@0
|
4 * Theme override for a 'checkboxes' #type form element.
|
Chris@0
|
5 *
|
Chris@0
|
6 * Available variables
|
Chris@0
|
7 * - attributes: A list of HTML attributes for the wrapper element.
|
Chris@0
|
8 * - children: The rendered checkboxes.
|
Chris@0
|
9 *
|
Chris@0
|
10 * @see template_preprocess_checkboxes()
|
Chris@0
|
11 */
|
Chris@0
|
12 @todo: remove this file once https://www.drupal.org/node/1819284 is resolved.
|
Chris@0
|
13 This is identical to core/modules/system/templates/container.html.twig
|
Chris@0
|
14 #}
|
Chris@0
|
15 <div{{ attributes.addClass('form-checkboxes') }}>{{ children }}</div>
|