function theme_submit

7.x form.inc theme_submit($variables)
5.x form.inc theme_submit($element)
6.x form.inc theme_submit($element)

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

165 string references to the theme hook from theme_submit()

Note: this list is generated by looking for the string for this theme hook, so it may include some references that are not actually using this theme hook.

aggregator_admin_form in drupal/modules/aggregator/aggregator.admin.inc
Form constructor for the aggregator system settings.
aggregator_categorize_items in drupal/modules/aggregator/aggregator.pages.inc
Form constructor to build the page list form.
aggregator_form_category in drupal/modules/aggregator/aggregator.admin.inc
Form constructor to add/edit/delete aggregator categories.
aggregator_form_feed in drupal/modules/aggregator/aggregator.admin.inc
Form constructor for adding and editing feed sources.
aggregator_form_opml in drupal/modules/aggregator/aggregator.admin.inc
Form constructor for importing feeds from OPML.

... See full list

File

drupal/includes/form.inc, line 3805
Functions for form and batch generation and processing.

Code

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