function date_process_values

cis7 date.module date_process_values($field)
cle7 date.module date_process_values($field)
elmsmedia7 date.module date_process_values($field)
icor7 date.module date_process_values($field)
meedjum_blog7 date.module date_process_values($field)
mooc7 date.module date_process_values($field)

Helper function to create an array of the date values in a field that need to be processed.

4 calls to date_process_values()
date_combo_element_process in sites/all/modules/ulmus/date/date_elements.inc
Process an individual date element.
date_field_load in sites/all/modules/ulmus/date/date.field.inc
Implements hook_field_load().
date_field_validate in sites/all/modules/ulmus/date/date.field.inc
Implements hook_field_validate().
date_formatter_process in sites/all/modules/ulmus/date/date.module
Helper function for creating formatted date arrays from a formatter.

File

sites/all/modules/ulmus/date/date.module, line 313
Defines date/time field types.

Code

function date_process_values($field) {
  return $field['settings']['todate'] ? array('value', 'value2') : array('value');
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.