public static ImageButton::preRenderButton($element)
Prepares a #type 'button' render element for input.html.twig.
Parameters
array $element: An associative array containing the properties of the element. Properties used: #attributes, #button_type, #name, #value. The #button_type property accepts any value, though core themes have CSS that styles the following button_types appropriately: 'primary', 'danger'.
Return value
array The $element with prepared variables ready for input.html.twig.
Ov