function getlocations_leaflet_views_plugins in Get Locations 7
Same name and namespace in other branches
- 7.2 modules/getlocations_leaflet/views/getlocations_leaflet.views.inc \getlocations_leaflet_views_plugins()
Define leaflet views style.
Implements hook_views_plugins().
File
- modules/
getlocations_leaflet/ views/ getlocations_leaflet.views.inc, line 17 - getlocations_leaflet.views.inc @author Bob Hutchinson http://drupal.org/user/52366 @copyright GNU GPL
Code
function getlocations_leaflet_views_plugins() {
$plugins = array(
'module' => 'getlocations_leaflet',
'style' => array(
'getlocations_leaflet' => array(
'title' => t('Getlocations Leaflet Map'),
'help' => t('Displays a View as a Getlocations Leaflet map.'),
'path' => GETLOCATIONS_LEAFLET_PATH,
'handler' => 'getlocations_leaflet_plugin_style',
'theme' => 'getlocations_leaflet_view_map',
'theme path' => GETLOCATIONS_LEAFLET_PATH . '/views',
'uses row plugin' => FALSE,
'uses grouping' => FALSE,
'uses options' => TRUE,
'type' => 'normal',
'uses fields' => TRUE,
),
),
);
return $plugins;
}