[TAKS] Document how to create custom postProcessors in FORM 68/47968/2
authorTymoteusz Motylewski <t.motylewski@gmail.com>
Thu, 28 Apr 2016 11:12:39 +0000 (13:12 +0200)
committerMorton Jonuschat <m.jonuschat@mojocode.de>
Fri, 29 Apr 2016 11:03:57 +0000 (13:03 +0200)
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: Bjoern Jacob <bjoern.jacob@tritum.de>
Tested-by: Bjoern Jacob <bjoern.jacob@tritum.de>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
(cherry picked from commit 298ccd3c12e9c4dad9c1503ff2aefeaa7ca98601)
Reviewed-on: https://review.typo3.org/47968

typo3/sysext/form/Documentation/Configuration/Postprocessors/Index.rst

index 767e8f2..0e3f947 100644 (file)
@@ -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