function theme_submit
theme_submit($variables)
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
File
- includes/form.inc, line 3897
- Functions for form and batch generation and processing.
Code
function theme_submit($variables) { return theme('button', $variables['element']); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!form.inc/function/theme_submit/7.x