@@ -2,55 +2,55 @@ |
||
| 2 | 2 | if (!defined('TYPO3_MODE')) die ('Access denied.'); |
| 3 | 3 | |
| 4 | 4 | $tca = [ |
| 5 | - 'vidi' => [ |
|
| 6 | - // Special case when the field name does not follow the conventions. |
|
| 7 | - // Vidi needs a bit of help to find the equivalence fieldName <-> propertyName. |
|
| 8 | - 'mappings' => [ |
|
| 9 | - 'lockToDomain' => 'lockToDomain', |
|
| 10 | - 'TSconfig' => 'tsConfig', |
|
| 11 | - 'felogin_redirectPid' => 'feLoginRedirectPid', |
|
| 12 | - ], |
|
| 13 | - ], |
|
| 14 | - 'grid' => [ |
|
| 15 | - 'facets' => [ |
|
| 16 | - 'uid', |
|
| 17 | - 'title', |
|
| 18 | - 'description', |
|
| 19 | - ], |
|
| 20 | - 'columns' => [ |
|
| 21 | - '__checkbox' => [ |
|
| 22 | - 'renderer' => new \Fab\Vidi\Grid\CheckBoxRenderer(), |
|
| 23 | - ], |
|
| 24 | - 'uid' => [ |
|
| 25 | - 'visible' => false, |
|
| 26 | - 'label' => 'Id', |
|
| 27 | - 'width' => '5px', |
|
| 28 | - ], |
|
| 29 | - 'title' => [ |
|
| 30 | - 'visible' => true, |
|
| 31 | - 'label' => 'LLL:EXT:vidi/Resources/Private/Language/fe_groups.xlf:title', |
|
| 32 | - 'editable' => true, |
|
| 33 | - ], |
|
| 34 | - 'tstamp' => [ |
|
| 35 | - 'visible' => false, |
|
| 36 | - 'format' => 'Fab\Vidi\Formatter\Date', |
|
| 37 | - 'label' => 'LLL:EXT:vidi/Resources/Private/Language/locallang.xlf:tstamp', |
|
| 38 | - ], |
|
| 39 | - 'crdate' => [ |
|
| 40 | - 'visible' => false, |
|
| 41 | - 'format' => 'Fab\Vidi\Formatter\Date', |
|
| 42 | - 'label' => 'LLL:EXT:vidi/Resources/Private/Language/locallang.xlf:crdate', |
|
| 43 | - ], |
|
| 44 | - 'hidden' => [ |
|
| 45 | - 'renderer' => 'Fab\Vidi\Grid\VisibilityRenderer', |
|
| 46 | - 'label' => 'LLL:EXT:vidi/Resources/Private/Language/locallang.xlf:visibility_abbreviation', |
|
| 47 | - 'width' => '3%', |
|
| 48 | - ], |
|
| 49 | - '__buttons' => [ |
|
| 50 | - 'renderer' => new \Fab\Vidi\Grid\ButtonGroupRenderer(), |
|
| 51 | - ], |
|
| 52 | - ] |
|
| 53 | - ] |
|
| 5 | + 'vidi' => [ |
|
| 6 | + // Special case when the field name does not follow the conventions. |
|
| 7 | + // Vidi needs a bit of help to find the equivalence fieldName <-> propertyName. |
|
| 8 | + 'mappings' => [ |
|
| 9 | + 'lockToDomain' => 'lockToDomain', |
|
| 10 | + 'TSconfig' => 'tsConfig', |
|
| 11 | + 'felogin_redirectPid' => 'feLoginRedirectPid', |
|
| 12 | + ], |
|
| 13 | + ], |
|
| 14 | + 'grid' => [ |
|
| 15 | + 'facets' => [ |
|
| 16 | + 'uid', |
|
| 17 | + 'title', |
|
| 18 | + 'description', |
|
| 19 | + ], |
|
| 20 | + 'columns' => [ |
|
| 21 | + '__checkbox' => [ |
|
| 22 | + 'renderer' => new \Fab\Vidi\Grid\CheckBoxRenderer(), |
|
| 23 | + ], |
|
| 24 | + 'uid' => [ |
|
| 25 | + 'visible' => false, |
|
| 26 | + 'label' => 'Id', |
|
| 27 | + 'width' => '5px', |
|
| 28 | + ], |
|
| 29 | + 'title' => [ |
|
| 30 | + 'visible' => true, |
|
| 31 | + 'label' => 'LLL:EXT:vidi/Resources/Private/Language/fe_groups.xlf:title', |
|
| 32 | + 'editable' => true, |
|
| 33 | + ], |
|
| 34 | + 'tstamp' => [ |
|
| 35 | + 'visible' => false, |
|
| 36 | + 'format' => 'Fab\Vidi\Formatter\Date', |
|
| 37 | + 'label' => 'LLL:EXT:vidi/Resources/Private/Language/locallang.xlf:tstamp', |
|
| 38 | + ], |
|
| 39 | + 'crdate' => [ |
|
| 40 | + 'visible' => false, |
|
| 41 | + 'format' => 'Fab\Vidi\Formatter\Date', |
|
| 42 | + 'label' => 'LLL:EXT:vidi/Resources/Private/Language/locallang.xlf:crdate', |
|
| 43 | + ], |
|
| 44 | + 'hidden' => [ |
|
| 45 | + 'renderer' => 'Fab\Vidi\Grid\VisibilityRenderer', |
|
| 46 | + 'label' => 'LLL:EXT:vidi/Resources/Private/Language/locallang.xlf:visibility_abbreviation', |
|
| 47 | + 'width' => '3%', |
|
| 48 | + ], |
|
| 49 | + '__buttons' => [ |
|
| 50 | + 'renderer' => new \Fab\Vidi\Grid\ButtonGroupRenderer(), |
|
| 51 | + ], |
|
| 52 | + ] |
|
| 53 | + ] |
|
| 54 | 54 | ]; |
| 55 | 55 | |
| 56 | 56 | \TYPO3\CMS\Core\Utility\ArrayUtility::mergeRecursiveWithOverrule($GLOBALS['TCA']['fe_groups'], $tca); |
| 57 | 57 | \ No newline at end of file |