function theme_select


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_select($variables)
cle7 theme_select($variables)
elmsmedia7 theme_select($variables)
icor7 theme_select($variables)
meedjum_blog7 theme_select($variables)
mooc7 theme_select($variables)

Returns HTML for a select form element.

It is possible to group options together; to do this, change the format of $options to an associative array in which the keys are group labels, and the values are associative arrays in the normal $options format.


$variables: An associative array containing:

  • element: An associative array containing the properties of the element. Properties used: #title, #value, #options, #description, #extra, #multiple, #required, #name, #attributes, #size.

Related topics

2 theme calls to theme_select()
date_timezone_element_process in sites/all/modules/ulmus/date/date_api/
Creates a timezone form element.
theme_date_select_element in sites/all/modules/ulmus/date/date_api/theme/
Returns HTML for a date select input form element.
503 string references to the theme hook from theme_select()

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.

accessibility_tests_list in sites/all/modules/ulmus/accessibility/
Form for importing tests.
accessibility_test_add_form in sites/all/modules/ulmus/accessibility/accessibility.module
Form for saving accessibiliy test entities.
accessibility_test_edit_form in sites/all/modules/ulmus/accessibility/accessibility.module
Edit form for accessibility tests.
action_nodequeue_add in sites/all/modules/local_contrib/nodequeue/includes/
Old-style action to add a node to a queue.
action_nodequeue_remove in sites/all/modules/local_contrib/nodequeue/includes/
Old-style action to remove a node from a queue.

... See full list


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


function theme_select($variables) {
  $element = $variables['element'];
  element_set_attributes($element, array('id', 'name', 'size'));
  _form_set_class($element, array('form-select'));

  return '<select' . drupal_attributes($element['#attributes']) . '>' . form_select_options($element) . '</select>';



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.