[BUGFIX] Move doctrine initalization to connect() method
[Packages/TYPO3.CMS.git] / typo3 / sysext / info / ext_tables.php
1 <?php
2 defined('TYPO3_MODE') or die();
3
4 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModule(
5 'web',
6 'info',
7 '',
8 '',
9 [
10 'routeTarget' => \TYPO3\CMS\Info\Controller\InfoModuleController::class . '::mainAction',
11 'access' => 'user,group',
12 'name' => 'web_info',
13 'icon' => 'EXT:info/Resources/Public/Icons/module-info.svg',
14 'labels' => 'LLL:EXT:info/Resources/Private/Language/locallang_mod_web_info.xlf'
15 ]
16 );
17 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('_MOD_web_info', 'EXT:info/Resources/Private/Language/locallang_csh_web_info.xlf');
18 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('_MOD_web_infotsconfig', 'EXT:info/Resources/Private/Language/locallang_csh_tsconfigInfo.xlf');
19
20 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::insertModuleFunction(
21 'web_info',
22 \TYPO3\CMS\Info\Controller\PageInformationController::class,
23 null,
24 'LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:mod_tx_cms_webinfo_page'
25 );
26 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::insertModuleFunction(
27 'web_info',
28 \TYPO3\CMS\Info\Controller\TranslationStatusController::class,
29 null,
30 'LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:mod_tx_cms_webinfo_lang'
31 );
32 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::insertModuleFunction(
33 'web_info',
34 \TYPO3\CMS\Info\Controller\InfoPageTyposcriptConfigController::class,
35 null,
36 'LLL:EXT:info/Resources/Private/Language/InfoPageTsConfig.xlf:mod_pagetsconfig'
37 );