You are here

function views_rdf_views_plugins in Views Datasource 6

Same name and namespace in other branches
  1. 7 views/views_rdf.views.inc \views_rdf_views_plugins()

Implementation of hook_views_plugin().

File

./views_rdf.views.inc, line 15
Views style plugin to render nodes in the RDF data format.

Code

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,
      ),
    ),
  );
}