You are here

function xmlsitemap_config_variables in XML sitemap 8

Same name and namespace in other branches
  1. 2.x xmlsitemap.module \xmlsitemap_config_variables()

Internal default variables config for xmlsitemap_var().

Return value

array Array with config variables of xmlsitemap.settings config object.

1 call to xmlsitemap_config_variables()
xmlsitemap_var in ./xmlsitemap.module
Internal implementation of variable_get().

File

./xmlsitemap.module, line 235
xmlsitemap XML sitemap

Code

function xmlsitemap_config_variables() {
  return [
    'minimum_lifetime' => 0,
    'xsl' => 1,
    'prefetch_aliases' => 1,
    'chunk_size' => 'auto',
    'batch_limit' => 100,
    'path' => 'xmlsitemap',
    'frontpage_priority' => 1.0,
    'frontpage_changefreq' => XMLSITEMAP_FREQUENCY_DAILY,
    'lastmod_format' => XMLSITEMAP_LASTMOD_MEDIUM,
    'gz' => FALSE,
    'disable_cron_regeneration' => FALSE,
  ];
}