theme_submit
- Versions
- 4.7 – 6
theme_submit($element)- 7
theme_submit($variables)
Theme a submit button form element.
Parameters
$variables An associative array containing:
- element: An associative array containing the properties of the element. Properties used: #attributes, #button_type, #name, #value.
Return value
A themed HTML string representing the form element.
Related topics
Code
includes/form.inc, line 2608
<?php
function theme_submit($variables) {
$element = $variables['element'];
return theme('button', $element);
}
?>Login or register to post comments 