Finalize referrer form finisher by adding request middlewareπ

This commit is contained in:
Björn Fromme
2021-09-07 14:37:27 +02:00
parent 4ab82c714d
commit d3647320fb
4 changed files with 63 additions and 30 deletions
@@ -0,0 +1,12 @@
<?php
return [
'frontend' => [
'ep/referrer' => [
'target' => \EP\EpTheme\Middleware\ReferrerMiddleware::class,
'after' => [
'typo3/cms-frontend/site',
],
],
],
];
@@ -1,29 +0,0 @@
TYPO3:
CMS:
Form:
persistenceManager:
allowedExtensionPaths:
10: EXT:ep_theme/Resources/Private/Forms/
prototypes:
standard:
finishersDefinition:
BpnApiFinisher:
implementationClassName: 'EP\EpTheme\Form\BpnApiFinisher'
formElementsDefinition:
Form:
renderingOptions:
templateRootPaths:
100: 'EXT:ep_theme/Resources/Private/Templates/Form/'
partialRootPaths:
100: 'EXT:ep_theme/Resources/Private/Partials/Form/'
layoutRootPaths:
100: 'EXT:ep_theme/Resources/Private/Layouts/Form/'
contactform:
__inheritances:
10: 'TYPO3.CMS.Form.prototypes.standard'
applicationform:
__inheritances:
10: 'TYPO3.CMS.Form.prototypes.standard'