You are here

function xmlsitemap_i18n_xmlsitemap_context_url_options in XML sitemap 6.2

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

Implements xmlsitemap_context_url_options().

File

xmlsitemap_i18n/xmlsitemap_i18n.module, line 26

Code

function xmlsitemap_i18n_xmlsitemap_context_url_options(array $context) {
  $options = array();
  if (isset($context['language'])) {
    $options['language'] = xmlsitemap_language_load($context['language']);
  }
  return $options;
}