‪TYPO3CMS  10.4
ext_localconf.php
Go to the documentation of this file.
1 <?php
2 
3 defined('TYPO3_MODE') or die();
4 
5 // add default notification options to every page
6 \‪TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig('
7 tx_workspaces.emails.layoutRootPaths.90 = EXT:workspaces/Resources/Private/Layouts/
8 tx_workspaces.emails.partialRootPaths.90 = EXT:workspaces/Resources/Private/Partials/
9 tx_workspaces.emails.templateRootPaths.90 = EXT:workspaces/Resources/Private/Templates/Email/
10 tx_workspaces.emails.format = html
11 ');
12 
13 // register the hook to actually do the work within DataHandler
14 ‪$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processCmdmapClass']['workspaces'] = \‪TYPO3\CMS\Workspaces\Hook\DataHandlerHook::class;
15 ‪$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass']['workspaces'] = \‪TYPO3\CMS\Workspaces\Hook\DataHandlerHook::class;
16 ‪$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['moveRecordClass']['version'] = \‪TYPO3\CMS\Workspaces\Hook\DataHandlerHook::class;
17 ‪$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_befunc.php']['viewOnClickClass']['workspaces'] = \‪TYPO3\CMS\Workspaces\Hook\BackendUtilityHook::class;
18 ‪$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/alt_doc.php']['makeEditForm_accessCheck']['workspaces'] = \‪TYPO3\CMS\Workspaces\Hook\BackendUtilityHook::class . '->makeEditForm_accessCheck';
19 
20 // Register workspaces cache if not already done in LocalConfiguration.php or a previously loaded extension.
21 ‪if (!is_array(‪$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['workspaces_cache'] ?? false)) {
22  ‪$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['workspaces_cache'] = [
23  'groups' => ['all']
24  ];
25 }
26 
27 ‪$GLOBALS['TYPO3_CONF_VARS']['BE']['toolbarItems'][1435433114] = \TYPO3\CMS\Workspaces\Backend\ToolbarItems\WorkspaceSelectorToolbarItem::class;
‪TYPO3
‪if
‪if(PHP_SAPI !=='cli')
Definition: splitAcceptanceTests.php:33
‪$GLOBALS
‪$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['adminpanel']['modules']
Definition: ext_localconf.php:5