Full ELMS Learning Network documentation
function theme_multipage
×
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_multipage($variables) |
cle7 field_group.module | theme_multipage($variables) |
elmsmedia7 field_group.module | theme_multipage($variables) |
icor7 field_group.module | theme_multipage($variables) |
meedjum_blog7 field_group.module | theme_multipage($variables) |
mooc7 field_group.module | theme_multipage($variables) |
Returns HTML for an element's children fieldsets as multipage.
Parameters
$variables: An associative array containing:
- element: An associative array containing the properties and children of the fieldset. Properties used: #children.
Related topics
11 string references to the theme hook from theme_multipage()
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_field_group_build_pre_render_alter in sites/
all/ modules/ ulmus/ field_group/ field_group.module - Implements hook_field_group_build_pre_render_alter().
- field_group_field_group_formatter_info in sites/
all/ modules/ ulmus/ field_group/ field_group.module - Implements hook_field_group_formatter_info().
- field_group_field_group_format_settings in sites/
all/ modules/ ulmus/ field_group/ field_group.module - Implements hook_field_group_format_settings(). If the group has no format settings, default ones will be added. @params Object $group The group object.
- field_group_field_ui_clone_field_groups_validate in sites/
all/ modules/ ulmus/ field_group/ field_group.field_ui.inc - Validate handler to validate saving existing fieldgroups from one view mode or form to another.
File
- sites/
all/ modules/ ulmus/ field_group/ field_group.module, line 1460 - Fieldgroup module.
Code
function theme_multipage($variables) {
$element = $variables['element'];
// Add required JavaScript and Stylesheet.
$element['#attached']['library'][] = array('field_group', 'multipage');
$output = '<h2 class="element-invisible">' . (!empty($element['#title']) ? $element['#title'] : t('Multipage')) . '</h2>';
$output .= '<div class="multipage-panes">';
$output .= $element['#children'];
$output .= '</div>';
return $output;
}