function theme_form


Error message

User warning: The following module is missing from the file system: theme/theme. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1156 of /var/www/html/elmsln_community/
cis7 theme_form($variables)
cle7 theme_form($variables)
elmsmedia7 theme_form($variables)
icor7 theme_form($variables)
meedjum_blog7 theme_form($variables)
mooc7 theme_form($variables)

Returns HTML for a form.


$variables: An associative array containing:

  • element: An associative array containing the properties of the element. Properties used: #action, #method, #attributes, #children

Related topics

2 theme calls to theme_form()
template_preprocess_data_taxonomy_tagging_form in sites/all/modules/local_contrib/data/data_taxonomy/data_taxonomy.module
Preprocessor for theme('data_taxonomy_tagging_form').
video_filter_dashboard_page in sites/all/modules/ulmus/video_filter/video_filter.module
Creates the dashboard.
371 string references to the theme hook from theme_form()

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. in sites/all/modules/ulmus/feeds_tamper/plugins/
Make URLs absolute.
accessibility_content_field_widget_form_alter in sites/all/modules/ulmus/accessibility/modules/accessibility_content/accessibility_content.module
Implements field_widget_form_alter().
accessibility_field_extra_fields in sites/all/modules/ulmus/accessibility/accessibility.module
Implements hook_field_extra_fields().
accessibility_install in sites/all/modules/ulmus/accessibility/accessibility.install
Implements hook_install().
action_nodequeue_add in sites/all/modules/local_contrib/nodequeue/includes/
Old-style action to add a node to a queue.

... See full list


includes/, line 3898
Functions for form and batch generation and processing.


function theme_form($variables) {
  $element = $variables['element'];
  if (isset($element['#action'])) {
    $element['#attributes']['action'] = drupal_strip_dangerous_protocols($element['#action']);
  element_set_attributes($element, array('method', 'id'));
  if (empty($element['#attributes']['accept-charset'])) {
    $element['#attributes']['accept-charset'] = "UTF-8";
  // Anonymous DIV to satisfy XHTML compliance.
  return '<form' . drupal_attributes($element['#attributes']) . '><div>' . $element['#children'] . '</div></form>';



Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/ in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/
The website encountered an unexpected error. Please try again later.