You are here

function location_location_ctools_contexts in Location 7.5

Same name and namespace in other branches
  1. 6.3 plugins/contexts/location.inc \location_location_ctools_contexts()
  2. 7.3 plugins/contexts/location.inc \location_location_ctools_contexts()
  3. 7.4 plugins/contexts/location.inc \location_location_ctools_contexts()

Implement hook_[context_name]_ctools_contexts().

File

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',
  );
}