1 field_group.module field_group_info_groups($entity_type = NULL, $bundle = NULL, $view_mode = NULL, $reset = FALSE)
1 field_group.api.php field_group_info_groups($entity_type = NULL, $bundle = NULL, $view_mode = NULL, $reset = FALSE)

Get the groups for a given entity type, bundle and view mode.

Parameters

string $entity_type: The Entity type where field groups are requested.

string $bundle: The entity bundle for the field groups.

string $view_mode: The view mode scope for the field groups.

bool $reset: TRUE or FALSE.

See also

field_group_read_groups()

File

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

Code

function field_group_info_groups($entity_type = NULL, $bundle = NULL, $view_mode = NULL, $reset = FALSE) {
  // This function caches the result and delegates to field_group_read_groups.
}