You are here

function _xmlsitemap_get_version in XML sitemap 7.2

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

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 40
Miscellaneous functions for the xmlsitemap module.

Code

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