900421ee999b3ebe4d042c9db40b8e8b30b4c6ba
[Packages/TYPO3.CMS.git] / typo3 / sysext / cshmanual / ext_tables.php
1 <?php
2 defined('TYPO3_MODE') or die();
3
4 if (TYPO3_MODE === 'BE') {
5 \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
6 'TYPO3.CMS.Cshmanual',
7 'help',
8 'cshmanual',
9 'top',
10 array(
11 'Help' => 'index,all,detail',
12 ),
13 array(
14 'access' => 'user',
15 'icon' => 'EXT:cshmanual/Resources/Public/Icons/module-cshmanual.svg',
16 'labels' => 'LLL:EXT:lang/locallang_mod_help_cshmanual.xlf',
17 )
18 );
19
20 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/template.php']['preStartPageHook']['cshmanual'] = \TYPO3\CMS\Cshmanual\Service\JavaScriptService::class . '->addJavaScript';
21 }