function xmlsitemap_variables in XML sitemap 7.2
Same name and namespace in other branches
- 6.2 xmlsitemap.module \xmlsitemap_variables()
Internal default variables for xmlsitemap_var().
2 calls to xmlsitemap_variables()
- xmlsitemap_uninstall in ./
xmlsitemap.install - Implements hook_uninstall().
- xmlsitemap_var in ./
xmlsitemap.module - Internal implementation of variable_get().
File
- ./
xmlsitemap.module, line 308 - xmlsitemap XML sitemap
Code
function xmlsitemap_variables() {
global $base_url;
return array(
'xmlsitemap_rebuild_needed' => FALSE,
'xmlsitemap_regenerate_needed' => FALSE,
'xmlsitemap_minimum_lifetime' => 0,
'xmlsitemap_generated_last' => 0,
'xmlsitemap_xsl' => 1,
'xmlsitemap_prefetch_aliases' => 1,
'xmlsitemap_robotstxt' => 1,
'xmlsitemap_chunk_size' => 'auto',
'xmlsitemap_batch_limit' => 100,
'xmlsitemap_path' => 'xmlsitemap',
'xmlsitemap_base_url' => $base_url,
'xmlsitemap_developer_mode' => 0,
'xmlsitemap_frontpage_priority' => 1.0,
'xmlsitemap_frontpage_changefreq' => XMLSITEMAP_FREQUENCY_DAILY,
'xmlsitemap_lastmod_format' => XMLSITEMAP_LASTMOD_MEDIUM,
'xmlsitemap_gz' => FALSE,
'xmlsitemap_disable_cron_regeneration' => 0,
'xmlsitemap_output_elements' => array(
'lastmod',
'changefreq',
'priority',
),
// Removed variables are set to NULL so they can still be deleted.
'xmlsitemap_regenerate_last' => NULL,
'xmlsitemap_custom_links' => NULL,
'xmlsitemap_priority_default' => NULL,
'xmlsitemap_languages' => NULL,
'xmlsitemap_max_chunks' => NULL,
'xmlsitemap_max_filesize' => NULL,
);
}