[TASK] Remove closing PHP tags
[Packages/TYPO3.CMS.git] / typo3 / sysext / documentation / ext_tables.php
1 <?php
2 if (!defined('TYPO3_MODE')) {
3 die('Access denied.');
4 }
5
6 if (TYPO3_MODE === 'BE') {
7 // Registers a Backend Module
8 \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
9 'TYPO3.CMS.' . $_EXTKEY,
10 'help', // Make module a submodule of 'help'
11 'documentation', // Submodule key
12 'top', // Position
13 array(
14 'Document' => 'list, manage, download',
15 ),
16 array(
17 'access' => 'user,group',
18 'icon' => 'EXT:' . $_EXTKEY . '/ext_icon.gif',
19 'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_mod.xlf',
20 )
21 );
22 }
23
24 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'Documentation');