function og_get_group_context in Organic groups 5.3
Same name and namespace in other branches
- 5.8 og.module \og_get_group_context()
- 5 og.module \og_get_group_context()
- 5.2 og.module \og_get_group_context()
- 5.7 og.module \og_get_group_context()
- 6.2 og.module \og_get_group_context()
- 6 og.module \og_get_group_context()
API function for getting the group context (if any) for the current request. Used for things like setting current theme and breadcrumbs. This context is set during og_theme()
Return value
$node object
10 calls to og_get_group_context()
- og_block_details in ./
og.module - og_block_notifications in ./
og.module - og_block_subscribers in ./
og.module - og_form_alter in ./
og.module - og_menu in ./
og.module
File
- ./
og.module, line 252
Code
function og_get_group_context() {
return og_set_group_context();
}