function spaces_group_path in Spaces 5
5 calls to spaces_group_path()
- spaces_announce_form_alter in spaces_announce/
spaces_announce.module - Implementation of hook_form_alter.
- spaces_dashboard_group_dashboard in spaces_dashboard/
spaces_dashboard.module - Implements a group dashboard for users in multiple groups TODO: implement "fires" listing
- spaces_nodeapi in ./
spaces.module - Implentation of hook_nodeapi
- spaces_router in ./
spaces.module - Consolidated group context routing logic.
- _spaces_form_alter_group in ./
spaces.module
File
- ./
spaces.module, line 736
Code
function spaces_group_path($gid) {
static $items;
if (!$items) {
$items[$gid] = context_prefix_api('load', array(
'provider' => 'spaces',
'id' => $gid,
));
}
return $items[$gid]['prefix'] ? $items[$gid]['prefix'] : false;
}