function theme_horizontal_tabs

×

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/api.elmsln.org/includes/bootstrap.inc).
cis7 field_group.module theme_horizontal_tabs($variables)
cle7 field_group.module theme_horizontal_tabs($variables)
elmsmedia7 field_group.module theme_horizontal_tabs($variables)
icor7 field_group.module theme_horizontal_tabs($variables)
meedjum_blog7 field_group.module theme_horizontal_tabs($variables)
mooc7 field_group.module theme_horizontal_tabs($variables)

Returns HTML for an element's children fieldsets as horizontal tabs.

Parameters

$variables: An associative array containing:

  • element: An associative array containing the properties and children of the fieldset. Properties used: #children.

Related topics

3 string references to the theme hook from theme_horizontal_tabs()

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.

field_group_element_info in sites/all/modules/ulmus/field_group/field_group.module
Implements hook_element_info().
field_group_pre_render_htabs in sites/all/modules/ulmus/field_group/field_group.module
Implements field_group_pre_render_<format-type>. Format type: Horizontal tabs group.
field_group_theme in sites/all/modules/ulmus/field_group/field_group.module
Implements hook_theme().

File

sites/all/modules/ulmus/field_group/field_group.module, line 1400
Fieldgroup module.

Code

function theme_horizontal_tabs($variables) {
  $element = $variables['element'];
  // Add required JavaScript and Stylesheet.
  $element['#attached']['library'][] = array('field_group', 'horizontal-tabs');

  $output = '<h2 class="element-invisible">' . (!empty($element['#title']) ? $element['#title'] : t('Horizontal Tabs')) . '</h2>';
  $output .= '<div class="horizontal-tabs-panes">' . $element['#children'] . '</div>';

  return $output;
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.