You are here

function xmlsitemap_node_views_style_plugins in XML sitemap 5

Same name and namespace in other branches
  1. 5.2 xmlsitemap_node/xmlsitemap_node.module \xmlsitemap_node_views_style_plugins()

Implementation of hook_views_style_plugins().

Related topics

File

xmlsitemap_node/xmlsitemap_node.module, line 406
Adds nodes to the site map.

Code

function xmlsitemap_node_views_style_plugins() {
  return array(
    'xmlsitemap_sitemap' => array(
      'name' => t('XML Sitemap: Sitemap'),
      'theme' => 'xmlsitemap_node_view_sitemap',
    ),
    'xmlsitemap_news' => array(
      'name' => t('XML Sitemap: News'),
      'theme' => 'xmlsitemap_node_view_news',
    ),
  );
}