You are here

function xmlsitemap_sitemap_get_context_hash in XML sitemap 6.2

Same name and namespace in other branches
  1. 8 xmlsitemap.module \xmlsitemap_sitemap_get_context_hash()
  2. 7.2 xmlsitemap.module \xmlsitemap_sitemap_get_context_hash()
  3. 2.x xmlsitemap.module \xmlsitemap_sitemap_get_context_hash()

Related topics

4 calls to xmlsitemap_sitemap_get_context_hash()
xmlsitemap_install in ./xmlsitemap.install
Implements hook_install().
xmlsitemap_sitemap_load_by_context in ./xmlsitemap.module
Load an XML sitemap array from the database based on its context.
xmlsitemap_sitemap_save in ./xmlsitemap.module
Save changes to an XML sitemap or add a new XML sitemap.
_xmlsitemap_sitemap_rehash_all in ./xmlsitemap.install

File

./xmlsitemap.module, line 484
Main file for the xmlsitemap module.

Code

function xmlsitemap_sitemap_get_context_hash(array &$context) {
  asort($context);
  return xmlsitemap_drupal_hash_base64(serialize($context));
}