function date_popup_date_field_instance_settings_form_alter in Date 7.3
Same name and namespace in other branches
- 7.2 date_popup/date_popup.module \date_popup_date_field_instance_settings_form_alter()
Implements hook_date_field_instance_settings_form_alter().
File
- date_popup/
date_popup.module, line 849 - A module to enable jQuery calendar and time entry popups.
Code
function date_popup_date_field_instance_settings_form_alter(&$form, $context) {
// Add an extra option to sync the end date with the start date.
$form['default_value2']['#options']['sync'] = t('Sync with start date');
}