function hook_date_field_time_callbacks in Date 8
Implements hook_date_field_time_callbacks().
Returns an array of available callbacks for the time element of the datepicker widget.
1 function implements hook_date_field_time_callbacks()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
- date_field_date_field_time_callbacks in date_field/
date_field.module - Implements hook_date_field_time_callbacks().
1 invocation of hook_date_field_time_callbacks()
- DateFieldDatepickerWidget::settingsForm in date_field/
lib/ Drupal/ date_field/ Plugin/ field/ widget/ DateFieldDatepickerWidget.php - Implements Drupal\field\Plugin\Type\Widget\WidgetInterface::settingsForm().
File
- date_field/
date_field.api.php, line 19
Code
function hook_date_field_time_callbacks() {
return array(
'date_field_all_day_toggle_callback' => t('All day checkbox toggle'),
);
}