[TASK] Cleanup CSS and JS in documentation module
[Packages/TYPO3.CMS.git] / typo3 / sysext / documentation / ext_tables.php
index 8db2ff0..2164e93 100644 (file)
@@ -1,22 +1,20 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
 
 if (TYPO3_MODE === 'BE') {
        // Registers a Backend Module
        \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
-               'TYPO3.CMS.' . $_EXTKEY,
-               'help',                         // Make module a submodule of 'help'
-               'documentation',        // Submodule key
-               'top',                          // Position
+               'TYPO3.CMS.Documentation',
+               'help',
+               'documentation',
+               'top',
                array(
-                       'Document' => 'list, manage, download',
+                       'Document' => 'list, download, fetch',
                ),
                array(
                        'access' => 'user,group',
-                       'icon'   => 'EXT:' . $_EXTKEY . '/ext_icon.gif',
-                       'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_mod.xlf',
+                       'icon'   => 'EXT:documentation/Resources/Public/Icons/module-documentation.png',
+                       'labels' => 'LLL:EXT:documentation/Resources/Private/Language/locallang_mod.xlf',
                )
        );
 }