function theme_submit
Same name and namespace in other branches
- 6.x drupal-6.x/includes/form.inc \theme_submit()
Returns HTML for 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.
Related topics
Archivo
- drupal-7.x/
includes/ form.inc, line 3736 - Functions for form and batch generation and processing.
Código
function theme_submit($variables) {
return theme('button', $variables['element']);
}