class DatePopupTimepicker in Date Popup Timepicker 7
Class DatePopupTimepicker.
Hierarchy
- class \DatePopupTimepicker implements DatePopupTimepickerInterface
Expanded class hierarchy of DatePopupTimepicker
File
- includes/
date_popup_timepicker.inc, line 117 - Interface and base class for timepicker plugins.
View source
class DatePopupTimepicker implements DatePopupTimepickerInterface {
/**
* {@inheritdoc}
*/
public function processElement(array $element, array &$form_state, array $form) {
return $element;
}
/**
* {@inheritdoc}
*/
public function librariesInfo() {
return array();
}
/**
* {@inheritdoc}
*/
public function fieldSettingsForm(array $form, array $context, array $settings = array()) {
return array(
'timepicker_options' => array(),
);
}
/**
* {@inheritdoc}
*/
public function fieldSettingsFormValidate(array &$element, array &$values, array &$form, array &$form_state) {
// Do nothing.
}
/**
* {@inheritdoc}
*/
public function fieldSettingsFormSubmit(array &$element, array &$values, array &$form, array &$form_state) {
// Do nothing.
}
/**
* {@inheritdoc}
*/
public function processFieldSettings(array $settings, array $element, array &$form_state, array $form) {
return isset($settings['timepicker_options']) ? $settings['timepicker_options'] : array();
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
DatePopupTimepicker:: |
public | function |
Define field settings form. Overrides DatePopupTimepickerInterface:: |
1 |
DatePopupTimepicker:: |
public | function |
Field Settings Form submit callback. Overrides DatePopupTimepickerInterface:: |
1 |
DatePopupTimepicker:: |
public | function |
Field Settings Form validate callback. Overrides DatePopupTimepickerInterface:: |
1 |
DatePopupTimepicker:: |
public | function |
Library definition for libraries module. Overrides DatePopupTimepickerInterface:: |
1 |
DatePopupTimepicker:: |
public | function |
Element process callback. Overrides DatePopupTimepickerInterface:: |
1 |
DatePopupTimepicker:: |
public | function |
Process field settings set in UI for further use in #timepicker options. Overrides DatePopupTimepickerInterface:: |
1 |