function hook_field_group_pre_render_alter in Field Group 7
Same name and namespace in other branches
- 8.3 field_group.api.php \hook_field_group_pre_render_alter()
- 7.2 field_group.api.php \hook_field_group_pre_render_alter()
Implements hook_field_group_pre_render().
Function that fungates as last resort to alter the pre_render build.
File
- ./
field_group.api.php, line 271 - Hooks provided by the Field Group module.
Code
function hook_field_group_pre_render_alter(&$element, $group, &$form) {
if ($group->format_type == 'htab') {
$element['#theme_wrappers'] = array(
'my_horizontal_tab',
);
}
}