You are here

function ip_geoloc_context_plugins in IP Geolocation Views & Maps 7

Same name and namespace in other branches
  1. 8 ip_geoloc.context.inc \ip_geoloc_context_plugins()

Implements hook_context_plugins().

File

./ip_geoloc.context.inc, line 6

Code

function ip_geoloc_context_plugins() {
  $plugins = array();
  $plugins['ip_geoloc_context_reaction_locate_visitor'] = array(
    'handler' => array(
      'path' => drupal_get_path('module', 'ip_geoloc') . '/plugins',
      'file' => 'ip_geoloc_context_reaction_locate_visitor.inc',
      'class' => 'ip_geoloc_context_reaction_locate_visitor',
      'parent' => 'context_reaction',
    ),
  );
  return $plugins;
}