You are here

function group_load_multiple in Group 7

Load multiple groups.

Parameters

array $gids: (optional) An array of group ids to load.

bool $reset: (optional) Whether to reset the internal cache.

Return value

array An array of Group entities, keyed by their group ids.

See also

entity_load()

10 calls to group_load_multiple()
gnode_form_node_form_alter in modules/gnode/gnode.module
Implements hook_form_BASE_FORM_ID_alter().
GroupController::delete in classes/group.controller.inc
Delete a group.
group_entity_delete in ./group.entity.inc
Implements hook_entity_delete().
group_entity_save in ./group.entity.inc
Helper for hook_entity_insert() and hook_entity_update().
group_entity_update in ./group.entity.inc
Implements hook_entity_update().

... See full list

File

helpers/group.entity.inc, line 20
Entity API related helper functions for groups.

Code

function group_load_multiple(array $gids = array(), $reset = FALSE) {
  return entity_load('group', $gids, array(), $reset);
}