function date_popup_get_preferred_timepicker in Date 7.3
Same name and namespace in other branches
- 7.2 date_popup/date_popup.module \date_popup_get_preferred_timepicker()
Get the name of the preferred default timepicker.
If the wvega timepicker is available on the system, default to using that, unless the administrator has specifically chosen otherwise.
2 calls to date_popup_get_preferred_timepicker()
- date_popup_element_info in date_popup/
date_popup.module - Implements hook_element_info().
- date_popup_settings in date_popup/
date_popup.module - General configuration form for controlling the Date Popup behaviour.
File
- date_popup/
date_popup.module, line 71 - A module to enable jQuery calendar and time entry popups.
Code
function date_popup_get_preferred_timepicker() {
$wvega_available = date_popup_get_wvega_path();
return $wvega_available ? 'wvega' : 'default';
}