You are here

function xmlsitemap_get_changefreq_options in XML sitemap 6.2

Same name and namespace in other branches
  1. 8 xmlsitemap.module \xmlsitemap_get_changefreq_options()
  2. 7.2 xmlsitemap.module \xmlsitemap_get_changefreq_options()
  3. 2.x xmlsitemap.module \xmlsitemap_get_changefreq_options()

@todo Document this function. @todo Make these translatable

3 calls to xmlsitemap_get_changefreq_options()
xmlsitemap_custom_edit_link_form in xmlsitemap_custom/xmlsitemap_custom.admin.inc
xmlsitemap_get_changefreq in ./xmlsitemap.module
Determine the frequency of updates to a link.
xmlsitemap_link_frontpage_settings in ./xmlsitemap.xmlsitemap.inc
XML sitemap link type settings callback for frontpage link entity.

File

./xmlsitemap.module, line 1315
Main file for the xmlsitemap module.

Code

function xmlsitemap_get_changefreq_options() {
  return array(
    XMLSITEMAP_FREQUENCY_ALWAYS => 'always',
    XMLSITEMAP_FREQUENCY_HOURLY => 'hourly',
    XMLSITEMAP_FREQUENCY_DAILY => 'daily',
    XMLSITEMAP_FREQUENCY_WEEKLY => 'weekly',
    XMLSITEMAP_FREQUENCY_MONTHLY => 'monthly',
    XMLSITEMAP_FREQUENCY_YEARLY => 'yearly',
  );
}