Make BpnApiFinisher configurable via backend

This commit is contained in:
Björn Fromme
2021-09-02 13:35:22 +02:00
parent a20adc4cc1
commit ed1002a0d3
3 changed files with 41 additions and 2 deletions
@@ -10,8 +10,35 @@ TYPO3:
finishersDefinition:
BpnApiFinisher:
implementationClassName: 'EP\EpTheme\Form\BpnApiFinisher'
formEditor:
iconIdentifier: 'form-finisher'
label: 'BusPro Finisher'
predefinedDefaults:
options:
mapping: 'lastName:text-1,firstName:text-2,gender:singleselect-1,email:email-1,street:text-3,zipCode:text-4,city:text-5,phone:telephone-1'
formElementsDefinition:
Form:
formEditor:
editors:
900:
selectOptions:
1848:
value: 'BpnApiFinisher'
label: 'BusPro Finisher'
propertyCollections:
finishers:
1848:
identifier: 'BpnApiFinisher'
editors:
100:
label: 'BusPro Finisher'
110:
identifier: 'mapping'
templateName: 'Inspector-TextEditor'
label: 'Mapping'
propertyPath: 'options.mapping'
propertyValidators:
10: 'NotEmpty'
renderingOptions:
templateRootPaths:
1505042810: 'EXT:ep_theme/Resources/Private/Templates/Form/'