protected function FractionTarget::importTypes in Fraction 8
Same name and namespace in other branches
- 2.x 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 - Form constructor.
- FractionTarget::getSummary in src/
Feeds/ Target/ FractionTarget.php - Returns the summary for a target.
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'),
];
}