You are here

function xmlsitemap_i18n_xmlsitemap_context_info in XML sitemap 6.2

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

Implements hook_xmlsitemap_context_info().

File

xmlsitemap_i18n/xmlsitemap_i18n.module, line 6

Code

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