You are here

function xmlsitemap_i18n_xmlsitemap_context in XML sitemap 7.2

Same name and namespace in other branches
  1. 6.2 xmlsitemap_i18n/xmlsitemap_i18n.module \xmlsitemap_i18n_xmlsitemap_context()

Implements hook_xmlsitemap_context().

File

xmlsitemap_i18n/xmlsitemap_i18n.module, line 23
Main file for XML sitemap i18n.

Code

function xmlsitemap_i18n_xmlsitemap_context() {
  $context['language'] = $GLOBALS['language']->language;
  return $context;
}