-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathext_tables.php
120 lines (117 loc) · 2.97 KB
/
ext_tables.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
<?php
if (!defined('TYPO3_MODE')) {
die('Access denied.');
}
\FluidTYPO3\FluxCapacitor\Implementation\FlexFormImplementation::registerForTableAndField('tt_content', 'pi_flexform');
$GLOBALS['TCA']['tx_fluxcapacitor_domain_model_sheet'] = array(
'label' => 'FluxCapacitor sheet',
'ctrl' => array(
'title' => 'FluxCapacitor configuration',
'label' => 'sheet_label',
'prependAtCopy' => '',
'hideAtCopy' => FALSE,
'tstamp' => 'tstamp',
'crdate' => 'crdate',
'cruser_id' => 'cruser_id',
'versioningWS' => FALSE,
'origUid' => 't3_origuid',
'dividers2tabs' => TRUE,
'useColumnsForDefaultValues' => 'type',
'languageField' => 'sys_language_uid',
'transOrigPointerField' => 'l10n_parent',
'transOrigDiffSourceField' => 'l10n_diffsource',
'sortby' => '',
'enablecolumns' => array(),
'iconfile' => 'EXT:flux_capacitor/ext_icon.png',
),
'types' => array(
'0' => array(
'showitem' => 'form_fields'
),
),
'columns' => array(
'name' => array(
'label' => '',
'config' => array(
'type' => 'input'
)
),
'form_fields' => array(
'label' => '',
'config' => array(
'type' => 'inline',
'foreign_table' => 'tx_fluxcapacitor_domain_model_field',
'foreign_field' => 'sheet',
'foreign_label' => 'field_label',
'size' => 1,
'minitems' => 0,
'maxitems' => 999,
'appearance' => array(
'collapseAll' => FALSE,
'expandSingle' => FALSE,
'levelLinksPosition' => 'none',
'useSortable' => FALSE,
'showPossibleLocalizationRecords' => FALSE,
'showRemovedLocalizationRecords' => FALSE,
'showAllLocalizationLink' => FALSE,
'showSynchronizationLink' => FALSE,
'enabledControls' => array(
'info' => FALSE,
'new' => FALSE,
'create' => FALSE,
'add' => FALSE,
'localize' => FALSE,
'delete' => FALSE,
)
)
)
)
)
);
$GLOBALS['TCA']['tx_fluxcapacitor_domain_model_field'] = array(
'label' => 'FluxCapacitor settings',
'ctrl' => array(
'title' => 'FluxCapacitor configuration',
'label' => '',
'prependAtCopy' => '',
'hideAtCopy' => FALSE,
'tstamp' => 'tstamp',
'crdate' => 'crdate',
'cruser_id' => 'cruser_id',
'versioningWS' => FALSE,
'origUid' => 't3_origuid',
'dividers2tabs' => TRUE,
'useColumnsForDefaultValues' => 'type',
'languageField' => 'sys_language_uid',
'transOrigPointerField' => 'l10n_parent',
'transOrigDiffSourceField' => 'l10n_diffsource',
'sortby' => '',
'enablecolumns' => array(),
'iconfile' => 'EXT:flux_capacitor/ext_icon.png',
),
'types' => array(
'0' => array(
'showitem' => 'field_value'
),
),
'columns' => array(
'field_name' => array(
'label' => 'Field name',
'config' => array(
'type' => 'input'
)
),
'field_label' => array(
'label' => 'Field label',
'config' => array(
'type' => 'input'
)
),
'field_value' => array(
'label' => 'Field value',
'config' => array(
'type' => 'input'
)
),
)
);