function oa_core_og_context_negotiation_info in Open Atrium Core 7.2
Implements hook_og_context_negotiation_info().
File
- includes/
oa_core.context.inc, line 10 - Code for getting context from URL argument.
Code
function oa_core_og_context_negotiation_info() {
$providers = array();
$providers['oa_core_url'] = array(
'name' => t('URL (content create)'),
'description' => t('Select groups if they were passed in the node create URL (e.g. node/add/post?og_group_ref=4).'),
'callback' => 'oa_core_context_handler_url',
);
return $providers;
}