location_location_ctools_contexts

  1. drupal
    1. 6 location.inc function
    2. 7 location.inc function
Drupal 7 location_location_ctools_contexts()

Implement hook_[context_name]_ctools_contexts().

File

sites/all/modules/location/plugins/contexts/location.inc, line 11
Creates a location context.

Code

function location_location_ctools_contexts() {
  return array(
    'title' => t('Location'), 
    'description' => t('Location'), 
    'context' => 'location_context_create_location', 
    'context name' => 'location', 
    'settings form' => 'location_context_location_settings_form', 
    'keyword' => 'location', 
    'context name' => 'location', 
    'convert list' => 'location_context_location_convert_list', 
    'convert' => 'location_context_location_convert',
  );
}