You are here

function xmlsitemap_i18n_xmlsitemap_context_info in XML sitemap 7.2

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

Implements hook_xmlsitemap_context_info().

File

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

Code

function xmlsitemap_i18n_xmlsitemap_context_info() {
  $context['language'] = array(
    'label' => t('Language'),
    'summary callback' => 'locale_language_name',
    'default' => language_default('language'),
  );
  return $context;
}