theme_submit

  1. drupal
    1. 4.7 form.inc
    2. 5 form.inc
    3. 6
    4. 7
Versions
4.7 – 6 theme_submit($element)
7 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

Code

drupal/includes/form.inc, line 3549

<?php
function theme_submit($variables) {
  return theme('button', $variables['element']);
}
?>