1 date.field.inc date_field_widget_settings_form($field, $instance)

Implements hook_field_widget_settings_form().

File

core/modules/date/date.field.inc, line 512
Field hooks to implement a date field.

Code

function date_field_widget_settings_form($field, $instance) {
  module_load_include('inc', 'date', 'date.admin');
  if ($instance['widget']['type'] == 'date_html5') {
    return _date_html5_field_widget_settings_form($instance);
  }
  return _date_field_widget_settings_form($field, $instance);
}