8 calls to og_context() in Organic groups 7.2
- OgContextTestCase::testGettingGroupContext in og_context/
og_context.test - Testing of the og_context returning value. Should return group id if user has permissions and NULL if he doesn't.
- og_context_get_properties in og_context/
og_context.module - Property getter callback.
- og_context_init in og_context/
og_context.module - Implement hook_init().
- og_context_plugin_access_og_perm::access in og_context/
includes/ views/ handlers/ og_context_plugin_access_og_perm.inc - Determine if the current user has access or not.
- og_context_plugin_argument_default_group_context::get_argument in og_context/
includes/ views/ handlers/ og_context_plugin_argument_default_group_context.inc - Return the group context argument.
- og_context_preprocess_html in og_context/
og_context.module - Implement hook_preprocess_html().
- og_user_roles_action_form in includes/
actions/ user_roles.action.inc - _og_context_views_page_access in og_context/
og_context.module - Helper function to handle views page access.