You are here

function kml_views_plugins in KML 7

Same name and namespace in other branches
  1. 6.2 views/kml.views.inc \kml_views_plugins()

Implements hook_views_style_plugins(). Adds view types to views UI interface.

File

views/kml.views.inc, line 12
Views plugins definition for views_kml

Code

function kml_views_plugins() {
  return array(
    'style' => array(
      'kml_feed' => array(
        'title' => t('KML Feed'),
        'help' => t('Outputs a KML formatted feed'),
        'handler' => 'views_plugin_style_kml',
        'theme' => 'views_view_kml',
        'theme file' => 'kml_views.theme.inc',
        'theme path' => drupal_get_path('module', 'kml') . '/views',
        'path' => drupal_get_path('module', 'kml') . '/views',
        'uses row plugin' => FALSE,
        'uses fields' => TRUE,
        'uses options' => TRUE,
        'uses grouping' => FALSE,
        'type' => 'feed',
      ),
    ),
  );
}