[BUGFIX] Prevent exclude field mixup in FormEngine
[Packages/TYPO3.CMS.git] / typo3 / sysext / backend / Tests / Functional / Fixtures / Extensions / inlinetest / Configuration / TCA / tx_inlinetest_record.php
1 <?php
2 return array(
3 'ctrl' => array(
4 'label' => 'text',
5 'title' => 'Subtype test record',
6 'requestUpdate' => 'subtypeswitch'
7 ),
8 'columns' => array(
9 'subtypeswitch' => array(
10 'label' => 'Subtype switch',
11 'config' => array(
12 'type' => 'select',
13 'items' => array(
14 array('All fields visible', 'fieldsvisible'),
15 array('Excluded fields', 'fieldsexcluded'),
16 ),
17 ),
18 ),
19 'beforeinline' => array(
20 'label' => 'Before inline',
21 'config' => array(
22 'type' => 'input',
23 )
24 ),
25 'children' => array(
26 'label' => 'Children',
27 'config' => array(
28 'type' => 'inline',
29 'foreign_table' => 'tx_inlinetest_inline',
30 'foreign_field' => 'parent_uid',
31 'appearance' => array(
32 'collapseAll' => FALSE,
33 ),
34 )
35 ),
36 'afterinline' => array(
37 'label' => 'After inline',
38 'config' => array(
39 'type' => 'input',
40 )
41 ),
42 ),
43 'types' => array(
44 0 => array(
45 'showitem' => '--palette--;;testsettings',
46 'subtype_value_field' => 'subtypeswitch',
47 'subtypes_excludelist' => array(
48 'fieldsexcluded' => 'beforeinline,afterinline'
49 ),
50 ),
51 ),
52 'palettes' => array(
53 'testsettings' => array(
54 'showitem' => 'subtypeswitch, --linebreak--, beforeinline, --linebreak--, children, --linebreak--, afterinline',
55 'canNotCollapse' => 1,
56 ),
57 ),
58 );