You are here

function geofield_map_views_plugins in Geofield 7

Same name and namespace in other branches
  1. 7.2 modules/geofield_map/includes/geofield_map.views.inc \geofield_map_views_plugins()

Implements hook_views_plugins().

File

modules/geofield_map/includes/geofield_map.views.inc, line 12
Default views hooks.

Code

function geofield_map_views_plugins() {
  $plugins = array(
    'module' => 'geofield_map',
    'style' => array(
      'geofield_map_map' => array(
        'title' => t('Geofield Map'),
        'help' => t('Displays a View as an Geofield map.'),
        'handler' => 'geofield_map_plugin_style_map',
        'theme' => 'geofield_map_map',
        'theme path' => drupal_get_path('module', 'geofield_map') . '/includes',
        'path' => drupal_get_path('module', 'geofield_map') . '/includes',
        'uses fields' => TRUE,
        'uses row plugin' => FALSE,
        'uses options' => TRUE,
        'uses grouping' => FALSE,
        'type' => 'normal',
        'even empty' => TRUE,
      ),
    ),
  );
  return $plugins;
}