You are here

function views_xml_views_style_plugins in Views Datasource 5

Implementation of hook_views_style_plugins

File

./views_xml.module, line 9
views_xml.module - provides Views plugin for rendering node content as XML.

Code

function views_xml_views_style_plugins() {
  return array(
    'views_xml_raw' => array(
      'name' => t('Views XML: Raw XML data document'),
      'theme' => 'views_xml_raw',
      'needs_table_header' => TRUE,
      'needs_fields' => TRUE,
      'even_empty' => TRUE,
    ),
    'views_xml_opml' => array(
      'name' => t('Views XML: OPML XML data document'),
      'theme' => 'views_xml_opml',
      'needs_table_header' => TRUE,
      'needs_fields' => TRUE,
      'even_empty' => TRUE,
    ),
    'views_xml_atom' => array(
      'name' => t('Views XML: Atom XML data document'),
      'theme' => 'views_xml_atom',
      'needs_table_header' => TRUE,
      'needs_fields' => TRUE,
      'even_empty' => TRUE,
    ),
  );
}