Browse Source

restore customizer module

Olivier Massot 5 years ago
parent
commit
2fa568f49b
1 changed files with 17 additions and 17 deletions
  1. 17 17
      ot_templating/ext_tables.php

+ 17 - 17
ot_templating/ext_tables.php

@@ -15,23 +15,23 @@ call_user_func(
 
         if (TYPO3_MODE === 'BE') {
 
-//            /**
-//             * Registers the customizer backend module
-//             */
-//            \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
-//                'Opentalent.OtTemplating',
-//                'web', // Make module a submodule of 'web'
-//                'ot_customizer', // Submodule key
-//                '', // Position
-//                array(
-//                    'OtCustomizer' => 'index,selectTemplate,updatePreferences',
-//                ),
-//                array(
-//                    'access' => 'user,group',
-//                    'icon' => 'EXT:ot_templating/Resources/Public/Icons/Extension_white.png',
-//                    'labels' => 'LLL:EXT:ot_templating/Resources/Private/Language/locallang_mod.xlf',
-//                )
-//            );
+            /**
+             * Registers the customizer backend module
+             */
+            \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
+                'Opentalent.OtTemplating',
+                'web', // Make module a submodule of 'web'
+                'ot_customizer', // Submodule key
+                '', // Position
+                array(
+                    'OtCustomizer' => 'index,selectTemplate,updatePreferences',
+                ),
+                array(
+                    'access' => 'user,group',
+                    'icon' => 'EXT:ot_templating/Resources/Public/Icons/Extension_white.png',
+                    'labels' => 'LLL:EXT:ot_templating/Resources/Private/Language/locallang_mod.xlf',
+                )
+            );
         }
     }
 );