1 date.module | date_process_values($field) |
Helper function to create an array of the date values in a field that need to be processed.
File
- core/
modules/ date/ date.module, line 439 - Defines date/time field types.
Code
function date_process_values($field) {
return $field['settings']['todate'] ? array('value', 'value2') : array('value');
}