protected function FractionTarget::importTypes in Fraction 2.x
Same name and namespace in other branches
- 8 src/Feeds/Target/FractionTarget.php \Drupal\fraction\Feeds\Target\FractionTarget::importTypes()
Helper function to define the ways to import the fraction data.
Return value
array Array with all the possible types.
2 calls to FractionTarget::importTypes()
- FractionTarget::buildConfigurationForm in src/
Feeds/ Target/ FractionTarget.php - FractionTarget::getSummary in src/
Feeds/ Target/ FractionTarget.php
File
- src/
Feeds/ Target/ FractionTarget.php, line 28
Class
- FractionTarget
- Defines a fraction field mapper.
Namespace
Drupal\fraction\Feeds\TargetCode
protected function importTypes() {
return [
'fraction' => $this
->t('Fraction'),
'decimal' => $this
->t('Decimal'),
];
}