public function FractionTarget::buildConfigurationForm in Fraction 2.x
Same name and namespace in other branches
- 8 src/Feeds/Target/FractionTarget.php \Drupal\fraction\Feeds\Target\FractionTarget::buildConfigurationForm()
File
- src/
Feeds/ Target/ FractionTarget.php, line 45
Class
- FractionTarget
- Defines a fraction field mapper.
Namespace
Drupal\fraction\Feeds\TargetCode
public function buildConfigurationForm(array $form, FormStateInterface $form_state) {
$form['type'] = [
'#type' => 'select',
'#title' => $this
->t('Filter format'),
'#options' => $this
->importTypes(),
'#default_value' => $this->configuration['type'],
];
return $form;
}