1 date.api.php hook_date_timezone_process_alter(&$element, &$form_state, $context)

Alter the date_timezone 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_timezone_element_process()

File

core/modules/date/date.api.php, line 353
Hooks provided by the Date module.

Code

function hook_date_timezone_process_alter(&$element, &$form_state, $context) {
  // @todo.
}