nicemap.views.inc

<?php
// $Id: nicemap.views.inc,v 1.1 2008/11/14 18:03:58 jmiccolis Exp $

/**
 * @file
 * Views plugins definition for nicemap.
 */

/**
 * Implementation of hook_views_style_plugins(). Adds view types to views UI interface.
 */
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,
      ),
    ),
  );
}