[TASK] Streamline DataHandler functional tests
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Tests / Functional / Fixtures / Frontend / extTables.php
1 <?php
2 /**
3 * Overriding $TCA
4 *
5 * The TYPO3 Configuration Array (TCA) is defined by the distributed tables.php and ext_tables.php files.
6 * If you want to extend and/or modify its content, you can do so with scripts like this.
7 * Or BETTER yet - with extensions like those found in the typo3conf/ext/ or typo3/ext/ folder.
8 * Extensions are movable to other TYPO3 installations and provides a much better division between things! Use them!
9 *
10 * Information on how to set up tables is found in the document "Inside TYPO3" available as a PDF from where you downloaded TYPO3.
11 *
12 * Usage:
13 * Just put this file to the location typo3conf/extTables.php and add this line to your typo3conf/localconf.php:
14 * $typo_db_extTableDef_script = 'extTables.php';
15 */
16
17 // Show copied pages records in frontend request
18 $GLOBALS['TCA']['pages']['ctrl']['hideAtCopy'] = FALSE;
19 // Show copied tt_content records in frontend request
20 $GLOBALS['TCA']['tt_content']['ctrl']['hideAtCopy'] = FALSE;
21 // Prepend label for copied sys_category records
22 $GLOBALS['TCA']['sys_category']['ctrl']['prependAtCopy'] = 'LLL:EXT:lang/locallang_general.xlf:LGL.prependAtCopy';
23 // Prepend label for localized sys_category records
24 $GLOBALS['TCA']['sys_category']['columns']['title']['l10n_mode'] = 'prefixLangTitle';
25
26 ?>