ext_tables.php 1.02 KB
Newer Older
1
<?php
2
3
defined('TYPO3_MODE') or die();

4
// Avoid that this block is loaded in frontend or within upgrade wizards
5
if (TYPO3_MODE === 'BE' && !(TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_INSTALL)) {
6
7
8
9
10
    \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
        'TYPO3.CMS.About',
        'help',
        'about',
        'top',
11
12
        ['About' => 'index'],
        [
13
14
            'access' => 'user,group',
            'icon' => 'EXT:about/Resources/Public/Icons/module-about.svg',
15
            'labels' => 'LLL:EXT:lang/Resources/Private/Language/locallang_mod_help_about.xlf'
16
        ]
17
    );
18
19
20
21
22
23

    \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
        'TYPO3.CMS.About',
        'help',
        'aboutmodules',
        'after:about',
24
        [
25
            'Modules' => 'index'
26
27
        ],
        [
28
29
30
            'access' => 'user,group',
            'icon' => 'EXT:about/Resources/Public/Icons/module-aboutmodules.svg',
            'labels' => 'LLL:EXT:about/Resources/Private/Language/Modules/aboutmodules.xlf'
31
        ]
32
    );
33
}