You are here

function date_repeat_add_exception_callback in Date 7

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

File

date_repeat/date_repeat_form.inc, line 249
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_exception_callback($form, &$form_state) {
  $parents = $form_state['triggering_element']['#array_parents'];
  $button_key = array_pop($parents);
  $element = drupal_array_get_nested_value($form, $parents);
  return $element;
}