function group_delete_multiple in Group 7
Delete multiple groups.
Parameters
array $gids: The ids of the groups you want to delete.
2 calls to group_delete_multiple()
- GroupTypeController::delete in classes/
group_type.controller.inc - Delete a group type.
- group_multiple_delete_confirm_submit in admin/
group.inc - Multiple group deletion submit callback.
File
- helpers/
group.entity.inc, line 123 - Entity API related helper functions for groups.
Code
function group_delete_multiple(array $gids) {
entity_delete_multiple('group', $gids);
}