protected static function SmartDate::prepareTarget in Smart Date 3.2.x
Same name and namespace in other branches
- 8.2 src/Feeds/Target/SmartDate.php \Drupal\smart_date\Feeds\Target\SmartDate::prepareTarget()
- 3.x src/Feeds/Target/SmartDate.php \Drupal\smart_date\Feeds\Target\SmartDate::prepareTarget()
- 3.0.x src/Feeds/Target/SmartDate.php \Drupal\smart_date\Feeds\Target\SmartDate::prepareTarget()
- 3.1.x src/Feeds/Target/SmartDate.php \Drupal\smart_date\Feeds\Target\SmartDate::prepareTarget()
- 3.3.x src/Feeds/Target/SmartDate.php \Drupal\smart_date\Feeds\Target\SmartDate::prepareTarget()
- 3.4.x src/Feeds/Target/SmartDate.php \Drupal\smart_date\Feeds\Target\SmartDate::prepareTarget()
File
- src/
Feeds/ Target/ SmartDate.php, line 24
Class
- SmartDate
- Defines a smartdate field mapper.
Namespace
Drupal\smart_date\Feeds\TargetCode
protected static function prepareTarget(FieldDefinitionInterface $field_definition) {
return FieldTargetDefinition::createFromFieldDefinition($field_definition)
->addProperty('value')
->addProperty('end_value');
}