[TASK] Refactor code to match new structure
[Packages/TYPO3.CMS.git] / typo3 / sysext / linkvalidator / ext_tables.php
1 <?php
2 if (!defined('TYPO3_MODE')) {
3 die('Access denied.');
4 }
5 if (TYPO3_MODE === 'BE') {
6 // Add module
7 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::insertModuleFunction(
8 'web_info',
9 'TYPO3\\CMS\\Linkvalidator\\Report\\LinkValidatorReport',
10 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('linkvalidator') . 'Classes/Report/LinkValidatorReport.php',
11 'LLL:EXT:linkvalidator/Resources/Private/Language/locallang.xlf:mod_linkvalidator'
12 );
13 }
14 // Initialize Context Sensitive Help (CSH)
15 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr(
16 'linkvalidator',
17 'EXT:linkvalidator/Resources/Private/Language/Module/locallang_csh.xlf'
18 );
19 ?>