You are here

function xmlsitemap_sitemap_get_context_hash in XML sitemap 7.2

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

Get context.

Related topics

3 calls to xmlsitemap_sitemap_get_context_hash()
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
Rehash all.

File

./xmlsitemap.module, line 546
xmlsitemap XML sitemap

Code

function xmlsitemap_sitemap_get_context_hash(array &$context) {
  ksort($context);
  return drupal_hash_base64(serialize($context));
}