You are here

function getlocations_mapquest_views_plugins in Get Locations 7

Same name and namespace in other branches
  1. 7.2 modules/getlocations_mapquest/views/getlocations_mapquest.views.inc \getlocations_mapquest_views_plugins()

Define mapquest views style.

Implements hook_views_plugins().

File

modules/getlocations_mapquest/views/getlocations_mapquest.views.inc, line 17
getlocations_mapquest.views.inc @author Bob Hutchinson http://drupal.org/user/52366 @copyright GNU GPL

Code

function getlocations_mapquest_views_plugins() {
  $plugins = array(
    'module' => 'getlocations_mapquest',
    'style' => array(
      'getlocations_mapquest' => array(
        'title' => t('Getlocations Mapquest Map'),
        'help' => t('Displays a View as a Getlocations Mapquest map.'),
        'path' => GETLOCATIONS_MAPQUEST_PATH,
        'handler' => 'getlocations_mapquest_plugin_style',
        'theme' => 'getlocations_mapquest_view_map',
        'theme path' => GETLOCATIONS_MAPQUEST_PATH . '/views',
        'uses row plugin' => FALSE,
        'uses grouping' => FALSE,
        'uses options' => TRUE,
        'type' => 'normal',
        'uses fields' => TRUE,
      ),
    ),
  );
  return $plugins;
}