From 298ccd3c12e9c4dad9c1503ff2aefeaa7ca98601 Mon Sep 17 00:00:00 2001
From: Tymoteusz Motylewski <t.motylewski@gmail.com>
Date: Thu, 28 Apr 2016 13:12:39 +0200
Subject: [PATCH] [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: 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>
---
 .../Configuration/Postprocessors/Index.rst       | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)

diff --git a/typo3/sysext/form/Documentation/Configuration/Postprocessors/Index.rst b/typo3/sysext/form/Documentation/Configuration/Postprocessors/Index.rst
index 767e8f217fe6..0e3f94715a72 100644
--- a/typo3/sysext/form/Documentation/Configuration/Postprocessors/Index.rst
+++ b/typo3/sysext/form/Documentation/Configuration/Postprocessors/Index.rst
@@ -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
-- 
GitLab