public function FeedsEntityProcessorPropertyDate::mappingSummaryCallback in Feeds entity processor 7
Summary callback for date targets.
File
- src/
Property/ FeedsEntityProcessorPropertyDate.php, line 85 - Contains FeedsEntityProcessorPropertyDate.
Class
- FeedsEntityProcessorPropertyDate
- Handler for date property.
Code
public function mappingSummaryCallback(array $mapping, $target, array $form, array $form_state) {
$mapping += array(
'timezone' => 'UTC',
);
$options = $this
->getTimezoneOptions();
return t('Default timezone: %zone', array(
'%zone' => $options[$mapping['timezone']],
));
}