Full ELMS Learning Network documentation
function theme_vertical_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 form.inc | theme_vertical_tabs($variables) |
cle7 form.inc | theme_vertical_tabs($variables) |
elmsmedia7 form.inc | theme_vertical_tabs($variables) |
icor7 form.inc | theme_vertical_tabs($variables) |
meedjum_blog7 form.inc | theme_vertical_tabs($variables) |
mooc7 form.inc | theme_vertical_tabs($variables) |
Returns HTML for an element's children fieldsets as vertical tabs.
Parameters
$variables: An associative array containing:
- element: An associative array containing the properties and children of the fieldset. Properties used: #children.
Related topics
1 theme call to theme_vertical_tabs()
- alpha_form_system_theme_settings_alter in sites/
all/ themes/ ulmus/ omega/ alpha/ theme-settings.php - Implements hook_form_system_theme_settings_alter()
28 string references to the theme hook from theme_vertical_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.
- adaptivetheme_form_system_theme_settings_alter in sites/
all/ themes/ ulmus/ adaptivetheme/ at_core/ theme-settings.php - @file Implimentation of hook_form_system_theme_settings_alter()
- admin_menu_theme_settings in sites/
all/ modules/ ulmus/ admin_menu/ admin_menu.inc - Form builder function for module settings.
- alpha_form_system_theme_settings_alter in sites/
all/ themes/ ulmus/ omega/ alpha/ theme-settings.php - Implements hook_form_system_theme_settings_alter()
- block_admin_configure in modules/
block/ block.admin.inc - Form constructor for the block configuration form.
- bulk_export_export_form in sites/
all/ modules/ ulmus/ ctools/ bulk_export/ bulk_export.module - FAPI definition for the bulk exporter form.
File
- includes/
form.inc, line 3759 - Functions for form and batch generation and processing.
Code
function theme_vertical_tabs($variables) {
$element = $variables['element'];
// Add required JavaScript and Stylesheet.
drupal_add_library('system', 'drupal.vertical-tabs');
$output = '<h2 class="element-invisible">' . t('Vertical Tabs') . '</h2>';
$output .= '<div class="vertical-tabs-panes">' . $element['#children'] . '</div>';
return $output;
}