You are here

public function DatePopupTimepickerInterface::processFieldSettings in Date Popup Timepicker 7

Process field settings set in UI for further use in #timepicker options.

For example settings may be sanitized, translated, etc.

Parameters

array $settings: Timepicked settings saved in field instanc.

array $element: Form API element structure to process.

array $form_state: Form state.

array $form: The whole form definition structure.

Return value

array Processed timepicker options.

1 method overrides DatePopupTimepickerInterface::processFieldSettings()
DatePopupTimepicker::processFieldSettings in includes/date_popup_timepicker.inc
Process field settings set in UI for further use in #timepicker options.

File

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

Class

DatePopupTimepickerInterface
Define interface DatePopupTimepickerInterface.

Code

public function processFieldSettings(array $settings, array $element, array &$form_state, array $form);