[TASK] Cleanup CSS and JS in documentation module
[Packages/TYPO3.CMS.git] / typo3 / sysext / documentation / ext_tables.php
index 3d6af61..2164e93 100644 (file)
@@ -1,12 +1,10 @@
 <?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,
+               'TYPO3.CMS.Documentation',
                'help',
                'documentation',
                'top',
@@ -15,8 +13,8 @@ if (TYPO3_MODE === 'BE') {
                ),
                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',
                )
        );
 }