You are here

function xmlsitemap_node_views_style_plugins in XML sitemap 5.2

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

Implementation of hook_views_style_plugins().

File

xmlsitemap_node/xmlsitemap_node.module, line 230
Adds nodes to the sitemap.

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