function xmlsitemap_state_variables in XML sitemap 2.x
Same name and namespace in other branches
- 8 xmlsitemap.module \xmlsitemap_state_variables()
Internal default variables state for xmlsitemap_var().
Return value
array Array with state variables defined by xmlsitemap module.
5 calls to xmlsitemap_state_variables()
- XmlSitemapGenerator::batchVariableSet in src/
XmlSitemapGenerator.php - Set variables during the batch process.
- XmlSitemapTestBase::assertFlag in tests/
src/ Functional/ XmlSitemapTestBase.php - Assert Flag.
- xmlsitemap_install in ./
xmlsitemap.install - Implements hook_install().
- xmlsitemap_uninstall in ./
xmlsitemap.install - Implements hook_uninstall().
- xmlsitemap_var in ./
xmlsitemap.module - Internal implementation of variable_get().
File
- ./
xmlsitemap.module, line 257 - xmlsitemap XML sitemap
Code
function xmlsitemap_state_variables() {
return [
'xmlsitemap_rebuild_needed' => FALSE,
'xmlsitemap_regenerate_needed' => TRUE,
'xmlsitemap_base_url' => '',
'xmlsitemap_generated_last' => 0,
'xmlsitemap_developer_mode' => 0,
'max_chunks' => NULL,
'max_filesize' => NULL,
];
}