function theme_image_button


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

Returns HTML for an image button form element.


$variables: An associative array containing:

  • element: An associative array containing the properties of the element. Properties used: #attributes, #button_type, #name, #value, #title, #src.

Related topics

12 string references to the theme hook from theme_image_button()

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.

ajax_pre_render_element in includes/
Adds Ajax information about an element to communicate with JavaScript.
ctools_jump_menu in sites/all/modules/ulmus/ctools/includes/
Generate a jump menu form.
drupal_common_theme in includes/
Provides theme registration for themes across .inc files.
ds_field_row_form_format_summary_construct in sites/all/modules/ulmus/ds/includes/
Helper function for formatter summary settings.
feeds_ui_mapping_settings_form in sites/all/modules/ulmus/feeds/feeds_ui/
Per mapper configuration form that is a part of feeds_ui_mapping_form().

... See full list


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


function theme_image_button($variables) {
  $element = $variables['element'];
  $element['#attributes']['type'] = 'image';
  element_set_attributes($element, array('id', 'name', 'value'));

  $element['#attributes']['src'] = file_create_url($element['#src']);
  if (!empty($element['#title'])) {
    $element['#attributes']['alt'] = $element['#title'];
    $element['#attributes']['title'] = $element['#title'];

  $element['#attributes']['class'][] = 'form-' . $element['#button_type'];
  if (!empty($element['#attributes']['disabled'])) {
    $element['#attributes']['class'][] = 'form-button-disabled';

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



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.