public static Checkbox::preRenderCheckbox($element)
Prepares a #type 'checkbox' render element for input.html.twig.
Parameters
array $element: An associative array containing the properties of the element. Properties used: #title, #value, #return_value, #description, #required, #attributes, #checked.
Return value
array The $element with prepared variables ready for input.html.twig.
File
core/lib/Drupal/Core/Render/Element/Checkbox.php, line 94
Class
Checkbox Provides a form element for a