You are here

function date_repeat_add_addition in Date 7

Same name and namespace in other branches
  1. 8 date_repeat/date_repeat_form.inc \date_repeat_add_addition()
  2. 7.3 date_repeat/date_repeat_form.inc \date_repeat_add_addition()
  3. 7.2 date_repeat/date_repeat_form.inc \date_repeat_add_addition()
1 string reference to 'date_repeat_add_addition'
_date_repeat_rrule_process in date_repeat/date_repeat_form.inc
Generate the repeat setting form.

File

date_repeat/date_repeat_form.inc, line 268
Code to add a date repeat selection form to a date field and create an iCal RRULE from the chosen selections.

Code

function date_repeat_add_addition($form, &$form_state) {
  $form_state['num_additions']++;
  $form_state['rebuild'] = TRUE;
}