You are here

function date_feeds_summary_callback in Feeds 7.2

Summary callback for date field targets.

1 string reference to 'date_feeds_summary_callback'
date_feeds_processor_targets in mappers/date.inc
Implements hook_feeds_processor_targets().

File

mappers/date.inc, line 114
On behalf implementation of Feeds mapping API for date.module.

Code

function date_feeds_summary_callback(array $mapping, $target, array $form, array $form_state) {
  $mapping += array(
    'timezone' => 'UTC',
  );
  $options = _date_feeds_timezone_options();
  return t('Default timezone: %zone', array(
    '%zone' => $options[$mapping['timezone']],
  ));
}