You are here

public function DatePopupTimepicker::fieldSettingsForm in Date Popup Timepicker 7

Define field settings form.

All exposed settings should be contained by "timepicker_options" element. Helper elements may be defined outside of "timepicker_options".

Parameters

array $form: Settings form definition.

array $context: Array containing 3 elements: "field info", "instance info" and "has_data" flag.

array $settings: Currently saved settings in the field.

Return value

array Timepicker settings form part definition.

Overrides DatePopupTimepickerInterface::fieldSettingsForm

1 method overrides DatePopupTimepicker::fieldSettingsForm()
DatePopupTimepickerTimepicker::fieldSettingsForm in plugins/timepicker/timepicker.inc
Define field settings form.

File

includes/date_popup_timepicker.inc, line 136
Interface and base class for timepicker plugins.

Class

DatePopupTimepicker
Class DatePopupTimepicker.

Code

public function fieldSettingsForm(array $form, array $context, array $settings = array()) {
  return array(
    'timepicker_options' => array(),
  );
}