You are here

function date_repeat_freq_options in Date 7.3

Same name and namespace in other branches
  1. 8 date_repeat/date_repeat.module \date_repeat_freq_options()
  2. 7.2 date_repeat/date_repeat.module \date_repeat_freq_options()

Helper function for FREQ options.

1 call to date_repeat_freq_options()
_date_repeat_rrule_process in date_repeat/date_repeat_form.inc
Generate the repeat setting form.

File

date_repeat/date_repeat.module, line 54
Primary hook implementations for the Date Repeat module.

Code

function date_repeat_freq_options() {
  return array(
    'DAILY' => t('Daily', array(), array(
      'context' => 'datetime_singular',
    )),
    'WEEKLY' => t('Weekly', array(), array(
      'context' => 'datetime_singular',
    )),
    'MONTHLY' => t('Monthly', array(), array(
      'context' => 'datetime_singular',
    )),
    'YEARLY' => t('Yearly', array(), array(
      'context' => 'datetime_singular',
    )),
  );
}