[TASK] Use name-resolution instead of strings where possible: 12
[Packages/TYPO3.CMS.git] / typo3 / sysext / sv / ext_tables.php
index ef5c8fa..db064f6 100644 (file)
@@ -1,6 +1,11 @@
 <?php
-if (!defined ('TYPO3_MODE'))   die ('Access denied.');
+defined('TYPO3_MODE') or die();
 
-// normal services should be added here
-
-?>
\ No newline at end of file
+if (TYPO3_MODE === 'BE') {
+       $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['reports']['sv']['services'] = array(
+               'title' => 'LLL:EXT:sv/Resources/Private/Language/locallang.xlf:report_title',
+               'description' => 'LLL:EXT:sv/Resources/Private/Language/locallang.xlf:report_description',
+               'icon' => 'EXT:sv/Resources/Public/Images/service-reports.png',
+               'report' => \TYPO3\CMS\Sv\Report\ServicesListReport::class
+       );
+}