You are here

function xmlsitemap_cron_options in XML sitemap 6

Return the array for the cron limit options.

1 call to xmlsitemap_cron_options()
xmlsitemap_settings in ./xmlsitemap.admin.inc
Form builder; return the sitemap settings form.

File

./xmlsitemap.module, line 238
Creates a sitemap compatible with the sitemaps.org schema.

Code

function xmlsitemap_cron_options() {
  return array(
    '2000' => t('2000 rows'),
    '1500' => t('1500 rows'),
    '1000' => t('1000 rows'),
    '500' => t('500 rows'),
    '250' => t('250 rows'),
    '100' => t('100 rows'),
    '50' => t('50 rows'),
    '25' => t('25 rows'),
    '20' => t('20 rows'),
    '15' => t('15 rows'),
    '10' => t('10 rows'),
    '5' => t('5 rows'),
    '-1' => t('Do not process via cron'),
  );
}