You are here

function _xmlsitemap_get_version in XML sitemap 6.2

Same name and namespace in other branches
  1. 8 xmlsitemap.module \_xmlsitemap_get_version()
  2. 7.2 xmlsitemap.inc \_xmlsitemap_get_version()
  3. 2.x xmlsitemap.module \_xmlsitemap_get_version()
1 call to _xmlsitemap_get_version()
_xmlsitemap_get_blurb in ./xmlsitemap.inc
Fetch a short blurb string about module maintainership and sponsors.

File

./xmlsitemap.inc, line 192
Miscellaneous functions for the xmlsitemap module.

Code

function _xmlsitemap_get_version() {
  static $version;
  if (!isset($version)) {
    $modules = module_rebuild_cache();
    $version = $modules['xmlsitemap']->info['version'];
  }
  return $version;
}