function callback_og_context_handler in Organic groups 7.2
Evaluates and return group IDs to provide group context.
Callback for hook_og_context_negotiation_info().
Return value
A nested array of group IDs, grouped first by entity type. Each value is a flat array of group IDs.
File
- og_context/
og_context.api.php, line 56 - Hooks provided by the Organic groups context module.
Code
function callback_og_context_handler() {
return array(
'node' => array(
1,
2,
3,
),
);
}