[TASK] Add branch alias for system extensions
[Packages/TYPO3.CMS.git] / typo3 / sysext / version / ext_localconf.php
1 <?php
2 defined('TYPO3_MODE') or die();
3
4 // register the hook to actually do the work within DataHandler
5 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processCmdmapClass']['version'] = \TYPO3\CMS\Version\Hook\DataHandlerHook::class;
6 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['moveRecordClass']['version'] = \TYPO3\CMS\Version\Hook\DataHandlerHook::class;
7
8 if (TYPO3_MODE === 'BE') {
9 // add default notification options to every page
10 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig('
11 tx_version.workspaces.stageNotificationEmail.subject = LLL:EXT:version/Resources/Private/Language/locallang_emails.xlf:subject
12 tx_version.workspaces.stageNotificationEmail.message = LLL:EXT:version/Resources/Private/Language/locallang_emails.xlf:message
13 # tx_version.workspaces.stageNotificationEmail.additionalHeaders =
14 ');
15 }