- drupal
- 4.7 form.inc
- 5 form.inc
- 6
- 7
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
- Default theme implementations
- Functions and templates for the user interface to be implemented by themes.
- Form generation
- Functions to enable the processing and display of HTML forms.
Code
drupal/includes/form.inc, line 3549
<?php
function theme_submit($variables) {
return theme('button', $variables['element']);
}
?>