Commit 298ccd3c authored by Tymoteusz Motylewski's avatar Tymoteusz Motylewski Committed by Morton Jonuschat
Browse files

[TAKS] Document how to create custom postProcessors in FORM

This patch adds documentation about creating custom postProcessors.

Resolves: #75963
Releases: master, 7.6
Change-Id: Ia0bb2b5d33cf30cba931953088c402307cc7ee40
Reviewed-on: https://review.typo3.org/47951


Reviewed-by: Björn Jacob's avatarBjoern Jacob <bjoern.jacob@tritum.de>
Tested-by: Björn Jacob's avatarBjoern Jacob <bjoern.jacob@tritum.de>
Reviewed-by: default avatarMorton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: default avatarMorton Jonuschat <m.jonuschat@mojocode.de>
parent 28401132
......@@ -25,6 +25,14 @@ Currently there are two postProcessors:
Mail/Index.rst
Redirect/Index.rst
The processing will be done in the order of the postProcessors.
Custom postProcessors
=====================
It is also possible to configure a custom class as a postProcessor. Just use the class name as the postProcessor name.
The postProcessor class should implement `TYPO3\CMS\Form\PostProcess\PostProcessorInterface`
**Example:**
.. code-block:: typoscript
......@@ -40,7 +48,7 @@ Currently there are two postProcessors:
2 {
destination = 5
}
}
The processing will be done in order of the postProcessors.
3 = Vendor\ExtensionName\Folder\ClassName
3 {
}
}
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment