nicemap/views/nicemap.views.inc, line 11
- Versions
- 6
nicemap_views_plugins()
Implementation of hook_views_style_plugins(). Adds view types to views UI interface.
Code
<?php
function nicemap_views_plugins() {
return array(
'style' => array(
'nicemap' => array(
'title' => t('Nice Map'),
'help' => t('Displays content on a WMS Map.'),
'handler' => 'nicemap_views_plugin',
'theme' => 'views_view_nicemap_map',
'theme file' => 'nicemap_views.theme.inc',
'theme path' => drupal_get_path('module', 'nicemap') . '/views',
'path' => drupal_get_path('module', 'nicemap') . '/views',
'uses fields' => TRUE,
'uses options' => TRUE,
'type' => 'normal',
'even empty' => TRUE,
),
),
);
}
?> 