[BUGFIX] Add icon rendering for custom permissions options
[Packages/TYPO3.CMS.git] / typo3 / sysext / about / ext_tables.php
1 <?php
2 defined('TYPO3_MODE') or die();
3
4 // Avoid that this block is loaded in frontend or within upgrade wizards
5 if (TYPO3_MODE === 'BE' && !(TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_INSTALL)) {
6 \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
7 'TYPO3.CMS.About',
8 'help',
9 'about',
10 'top',
11 ['About' => 'index'],
12 [
13 'access' => 'user,group',
14 'icon' => 'EXT:about/Resources/Public/Icons/module-about.svg',
15 'labels' => 'LLL:EXT:lang/locallang_mod_help_about.xlf'
16 ]
17 );
18
19 \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
20 'TYPO3.CMS.About',
21 'help',
22 'aboutmodules',
23 'after:about',
24 [
25 'Modules' => 'index'
26 ],
27 [
28 'access' => 'user,group',
29 'icon' => 'EXT:about/Resources/Public/Icons/module-aboutmodules.svg',
30 'labels' => 'LLL:EXT:about/Resources/Private/Language/Modules/aboutmodules.xlf'
31 ]
32 );
33 }