You are here

kml.views.inc in KML 7

Same filename and directory in other branches
  1. 6.2 views/kml.views.inc

Views plugins definition for views_kml

File

views/kml.views.inc
View source
<?php

/**
 * @file
 * Views plugins definition for views_kml
 */

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

Functions

Namesort descending Description
kml_views_plugins Implements hook_views_style_plugins(). Adds view types to views UI interface.