function ip_geoloc_context_registry in IP Geolocation Views & Maps 8
Same name and namespace in other branches
- 7 ip_geoloc.context.inc \ip_geoloc_context_registry()
Implements hook_context_registry().
File
- ./
ip_geoloc.context.inc, line 27 - Context configuration and hooks.
Code
function ip_geoloc_context_registry() {
return [
'reactions' => [
'locate_visitor' => [
'title' => t('Locate visitor using GPS/Wifi (if page changed)'),
'plugin' => 'ip_geoloc_context_reaction_locate_visitor',
],
],
];
}