function field_group_pre_render_foundation_group_tab in ZURB Section 7
Implements field_group_pre_render_<format-type>.
Parameters
$element:
$group:
$form:
File
- ./
foundation_group.module, line 153
Code
function field_group_pre_render_foundation_group_tab(&$element, $group, &$form) {
$element += array(
'#type' => 'foundation_tab',
'#group' => $group->parent_name,
'#title' => check_plain(t($group->label)),
'#attributes' => array(
'class' => explode(' ', $group->classes),
'id' => _foundation_group_convert_label_to_tab_id($group->label),
),
'#description' => $group->description,
'#parents' => array(
$group->parent_name,
),
);
}