You are here

function hook_date_year_range_process_alter in Date 7.2

Same name and namespace in other branches
  1. 8 date.api.php \hook_date_year_range_process_alter()
  2. 7.3 date.api.php \hook_date_year_range_process_alter()

Alter the date_year_range widget element.

Parameters

array $element: An associative array containing the properties of the date_select element.

array $form_state: A keyed array containing the current state of the form.

array $context: An associative array containing the following keys:

  • form: Nested array of form elements that comprise the form.

See also

date_year_range_element_process()

1 invocation of hook_date_year_range_process_alter()
date_year_range_element_process in date_api/date_api_elements.inc
Process callback which creates a date_year_range form element.

File

./date.api.php, line 386
Hooks provided by the Date module.

Code

function hook_date_year_range_process_alter(array &$element, array &$form_state, array $context) {

  // @todo Document this.
}