[FEATURE] Add uppercamelcase and lowercamelcase to stdWrap.case
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Documentation / Changelog / master / Feature-66697-AddUppercamelcaseAndLowercamelcaseToStdWrap.case.rst
1 =======================================================================
2 Feature: #66697 - Add uppercamelcase and lowercamelcase to stdWrap.case
3 =======================================================================
4
5 Description
6 ===========
7
8 To make it possible to change a value for underscored to "upperCamelCase" or "lowerCamelCase" the options `uppercamelcase` and `lowercamelcase` are added to `stdWrap.case`.
9
10 .. code-block:: typoscript
11
12         tt_content = CASE
13         tt_content {
14                 key {
15                         field = CType
16                 }
17
18                 my_custom_ctype =< lib.userContent
19                 my_custom_ctype {
20                         file = EXT:site_base/Resources/Private/Templates/SomeOtherTemplate.html
21                         settings {
22                                 extraParam = 1
23                         }
24                 }
25
26                 default =< lib.userContent
27                 default {
28                         file = TEXT
29                         file.field = CType
30                         file.stdWrap.case = uppercamelcase
31                         file.wrap = EXT:site_base/Resources/Private/Templates/|.html
32                 }
33         }