[BUGFIX] Prematurely end data array processing on invalid item
[Packages/TYPO3.CMS.git] / typo3 / sysext / backend / ext_localconf.php
1 <?php
2
3 defined('TYPO3') or die();
4
5 $GLOBALS['TYPO3_CONF_VARS']['BE']['toolbarItems'][1435433106] = \TYPO3\CMS\Backend\Backend\ToolbarItems\ClearCacheToolbarItem::class;
6 $GLOBALS['TYPO3_CONF_VARS']['BE']['toolbarItems'][1435433107] = \TYPO3\CMS\Backend\Backend\ToolbarItems\HelpToolbarItem::class;
7 $GLOBALS['TYPO3_CONF_VARS']['BE']['toolbarItems'][1435433108] = \TYPO3\CMS\Backend\Backend\ToolbarItems\LiveSearchToolbarItem::class;
8 $GLOBALS['TYPO3_CONF_VARS']['BE']['toolbarItems'][1435433109] = \TYPO3\CMS\Backend\Backend\ToolbarItems\ShortcutToolbarItem::class;
9 $GLOBALS['TYPO3_CONF_VARS']['BE']['toolbarItems'][1435433110] = \TYPO3\CMS\Backend\Backend\ToolbarItems\SystemInformationToolbarItem::class;
10 $GLOBALS['TYPO3_CONF_VARS']['BE']['toolbarItems'][1435433111] = \TYPO3\CMS\Backend\Backend\ToolbarItems\UserToolbarItem::class;
11
12 $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['backend']['loginProviders'][1433416747] = [
13 'provider' => \TYPO3\CMS\Backend\LoginProvider\UsernamePasswordLoginProvider::class,
14 'sorting' => 50,
15 'icon-class' => 'fa-key',
16 'label' => 'LLL:EXT:backend/Resources/Private/Language/locallang.xlf:login.link'
17 ];
18
19 $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['backend']['avatarProviders']['defaultAvatarProvider'] = [
20 'provider' => \TYPO3\CMS\Backend\Backend\Avatar\DefaultAvatarProvider::class
21 ];
22
23 $GLOBALS['TYPO3_CONF_VARS']['SYS']['formEngine']['nodeRegistry'][1460321142] = [
24 'nodeName' => 'belayoutwizard',
25 'priority' => 40,
26 'class' => \TYPO3\CMS\Backend\View\Wizard\Element\BackendLayoutWizardElement::class,
27 ];
28
29 // Register search key shortcuts
30 $GLOBALS['TYPO3_CONF_VARS']['SYS']['livesearch']['page'] = 'pages';
31
32 // Register standard preview renderer resolver implementation.
33 // Resolves PreviewRendererInterface implementations for a given table and record.
34 // Can be replaced with custom implementation by overriding this value in extensions.
35 $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['backend']['previewRendererResolver'] = \TYPO3\CMS\Backend\Preview\StandardPreviewRendererResolver::class;
36
37 // Include base TSconfig setup
38 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig(
39 "@import 'EXT:backend/Configuration/TsConfig/Page/Mod/Wizards/NewContentElement.tsconfig'"
40 );
41
42 // Register icons not being part of TYPO3.Icons repository
43 $iconRegistry = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Core\Imaging\IconRegistry::class);
44 $iconRegistry->registerIcon(
45 'status-edit-read-only',
46 \TYPO3\CMS\Core\Imaging\IconProvider\BitmapIconProvider::class,
47 ['source' => 'EXT:backend/Resources/Public/Icons/status-edit-read-only.png']
48 );
49 $iconRegistry->registerIcon(
50 'warning-in-use',
51 \TYPO3\CMS\Core\Imaging\IconProvider\BitmapIconProvider::class,
52 ['source' => 'EXT:backend/Resources/Public/Icons/warning-in-use.png']
53 );
54 $iconRegistry->registerIcon(
55 'warning-lock',
56 \TYPO3\CMS\Core\Imaging\IconProvider\BitmapIconProvider::class,
57 ['source' => 'EXT:backend/Resources/Public/Icons/warning-lock.png']
58 );
59
60 // Register BackendLayoutDataProvider for PageTs
61 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['BackendLayoutDataProvider']['pagets'] = \TYPO3\CMS\Backend\Provider\PageTsBackendLayoutDataProvider::class;
62 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_userauthgroup.php']['backendUserLogin']['sendEmailOnLogin'] = \TYPO3\CMS\Backend\Security\EmailLoginNotification::class . '->emailAtLogin';
63 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_userauth.php']['postLoginFailureProcessing']['sendEmailOnFailedLoginAttempt'] = \TYPO3\CMS\Backend\Security\FailedLoginAttemptNotification::class . '->sendEmailOnLoginFailures';