You are here

function field_group_hide_field_groups in Field Group 7

Same name in this branch
  1. 7 field_group.api.php \field_group_hide_field_groups()
  2. 7 field_group.module \field_group_hide_field_groups()

Hides field groups including children in a render array.

Parameters

array $element: A render array. Can be a form, node, user, ...

array $group_names: An array of field group names that should be hidden.

File

./field_group.api.php, line 454
Hooks provided by the Field Group module.

Code

function field_group_hide_field_groups(&$element, $group_names) {
}