theme_submit

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

includes/form.inc, line 3599

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