public function FeedsEntityProcessorPropertyDate::getMappingTarget in Feeds entity processor 7
Implements FeedsEntityProcessorPropertyInterface::getMappingTarget().
Overrides FeedsEntityProcessorPropertyDefault::getMappingTarget
File
- src/
Property/ FeedsEntityProcessorPropertyDate.php, line 52 - Contains FeedsEntityProcessorPropertyDate.
Class
- FeedsEntityProcessorPropertyDate
- Handler for date property.
Code
public function getMappingTarget() {
$target = parent::getMappingTarget();
if (module_exists('date_api')) {
$target['form_callbacks'][] = array(
$this,
'mappingFormCallback',
);
$target['summary_callbacks'][] = array(
$this,
'mappingSummaryCallback',
);
}
$target['preprocess_callbacks'][] = array(
$this,
'preprocessCallback',
);
return $target;
}