1 field_group.api.php hook_field_group_info_alter(array &$groups)

Alter the field group definitions provided by other modules.

Parameters

array $groups: Reference to an array of field group definition objects.

Related topics

File

core/modules/field_group/field_group.api.php, line 343
Hooks provided by the Field Group module.

Code

function hook_field_group_info_alter(array &$groups) {
  if (!empty($groups['group_issue_metadata|node|project_issue|form'])) {
    $groups['group_issue_metadata|node|project_issue|form']->data['children'][] = 'taxonomy_vocabulary_9';
  }
}