You are here

function views_xhtml_views_style_plugins in Views Datasource 5

Implementation of hook_views_style_plugins

Return value

array with style plugin declarations.

File

./views_xhtml.module, line 11
Provides Views plugin for rendering node content as XHTML microformats.

Code

function views_xhtml_views_style_plugins() {
  return array(
    'views_xhtml_hcard' => array(
      'name' => t('Views XHTML: hCard XHTML data document'),
      'theme' => 'views_xhtml_hcard',
      'needs_table_header' => TRUE,
      'needs_fields' => TRUE,
      'even_empty' => TRUE,
    ),
    'views_xhtml_hcalendar' => array(
      'name' => t('Views XHTML: hCalendar XHTML data document'),
      'theme' => 'views_xhtml_hcalendar',
      'needs_table_header' => TRUE,
      'needs_fields' => TRUE,
      'even_empty' => TRUE,
    ),
  );
}