1 date.module | date_popup_library_info() |
Implements hook_library_info().
File
- core/
modules/ date/ date.module, line 249 - Defines date/time field types.
Code
function date_popup_library_info() {
$libraries['date_popup'] = array(
'title' => 'Date Popup Integration',
'version' => BACKDROP_VERSION,
'js' => array(
backdrop_get_path('module', 'date') . '/js/date-popup.js' => array(),
),
// We do not specifically add ui.datepicker or jquery.timeentry here to save
// unnecessary library loading if only one or the other is needed.
);
return $libraries;
}