87d67cc7c22f629daebfe4e7b85d4ef97df7c095
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Documentation / Changelog / 7.3 / Feature-66907-AddDataProcessingToFluidTemplateContentObject.rst
1 =====================================================================
2 Feature: #66907 - Add Data Processing to FLUIDTEMPLATE content object
3 =====================================================================
4
5 Description
6 ===========
7
8 cObject FLUIDTEMPLATE has been extended with ``dataProcessing``. This setting can be used to add one or multiple processors to
9 manipulate the ``$data`` variable of the currently rendered content object, like tt_content or page.
10
11 - dataProcessing = array of class references by full namespace
12
13
14 Example:
15 --------
16
17 .. code-block:: typoscript
18
19 my_custom_ctype = FLUIDTEMPLATE
20 my_custom_ctype {
21 templateRootPaths {
22 10 = EXT:your_extension_key/Resources/Private/Templates
23 }
24 templateName = CustomName
25 settings {
26 extraParam = 1
27 }
28 dataProcessing {
29 1 = Vendor\YourExtensionKey\DataProcessing\MyFirstCustomProcessor
30 2 = Vendor2\AnotherExtensionKey\DataProcessing\MySecondCustomProcessor
31 2 {
32 options {
33 myOption = SomeValue
34 }
35 }
36 }
37 }
38
39
40 Impact
41 ======
42
43 The data processors can be used in all new projects. There is no interference with any part of existing code.