You are here

function date_repeat_add_exception_callback in Date 8

Same name and namespace in other branches
  1. 7.3 date_repeat/date_repeat_form.inc \date_repeat_add_exception_callback()
  2. 7 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()
2 string references to 'date_repeat_add_exception_callback'
date_repeat_rrule_validate in date_repeat/date_repeat_form.inc
Build a RRULE out of the form values.
_date_repeat_rrule_process in date_repeat/date_repeat_form.inc
Generate the repeat setting form.

File

date_repeat/date_repeat_form.inc, line 701
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;
}