diff --git a/core/includes/form.inc b/core/includes/form.inc index 86039cb..48697e8 100644 --- a/core/includes/form.inc +++ b/core/includes/form.inc @@ -2555,11 +2555,12 @@ function form_pre_render_color($element) { /** * Prepares variables for form templates. * + * Default template: form.html.twig. + * * @param $variables * An associative array containing: * - element: An associative array containing the properties of the element. * Properties used: #action, #method, #attributes, #children - * */ function template_preprocess_form(&$variables) { $element = $variables['element']; diff --git a/core/modules/system/templates/form.html.twig b/core/modules/system/templates/form.html.twig index 6564ed5..b95fe71 100644 --- a/core/modules/system/templates/form.html.twig +++ b/core/modules/system/templates/form.html.twig @@ -5,13 +5,11 @@ * * Available variables * - attributes: A list of HTML attributes for the wrapper element. - * - children: The rendered checkboxes. + * - children: The child elements of the form. * * @see template_preprocess_form() * * @ingroup themeable */ - @todo: remove this file once http://drupal.org/node/1819284 is resolved. - This is identical to core/modules/system/templates/container.html.twig #}
{{ children }}