public function GroupController::deletePath in Group 7
Removes group path alias upon deletion.
Parameters
Group $group: The group being deleted.
1 call to GroupController::deletePath()
- GroupController::delete in classes/
group.controller.inc - Delete a group.
File
- classes/
group.controller.inc, line 209 - Defines the Entity API CRUD class for groups.
Class
- GroupController
- Controller for group entities.
Code
public function deletePath(Group $group) {
path_delete(array(
'source' => 'group/' . $group->gid,
));
}