You are here

views_rdf.views.inc in Views Datasource 6

Views style plugin to render nodes in the RDF data format.

File

views_rdf.views.inc
View source
<?php

/**
 * @file
 * Views style plugin to render nodes in the RDF data format.
 *
 * @see views-view-rdf.tpl.php
 * @ingroup views_plugins
 */

/**
 * Implementation of hook_views_plugin().
 */
function views_rdf_views_plugins() {
  $path = drupal_get_path('module', 'views_rdf');
  return array(
    'module' => 'views_rdf',
    'style' => array(
      // declare the views_rdf style plugin
      'views_rdf' => array(
        'title' => 'RDF data document',
        'path' => $path,
        'help' => 'Displays nodes in a view using the RDF data format.',
        'handler' => 'views_plugin_style_rdf',
        'theme' => 'views_views_rdf_style',
        'theme file' => 'views_views_rdf_style.theme.inc',
        'theme path' => $path . '/theme',
        'additional themes' => array(
          'views_views_rdf_style_foaf' => 'style',
          'views_views_rdf_style_sioc' => 'style',
          'views_views_rdf_style_doap' => 'style',
        ),
        'uses row plugin' => FALSE,
        'uses fields' => TRUE,
        'uses options' => TRUE,
        'type' => 'normal',
        'help_topic' => 'style-rdf',
        'even empty' => TRUE,
      ),
    ),
  );
}

Functions

Namesort descending Description
views_rdf_views_plugins Implementation of hook_views_plugin().