Refactor field_group_build_entity_groups()