forked from sypets/brofix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ext_tables.php
40 lines (35 loc) · 1.31 KB
/
ext_tables.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?php
defined('TYPO3') or die();
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModule(
'web',
'brofix',
'after:info',
'',
[
'routeTarget' => \Sypets\Brofix\Controller\BrofixController::class . '::mainAction',
'access' => 'user,group',
'name' => 'web_brofix',
'path' => '/module/page/link-reports',
'icon' => 'EXT:brofix/Resources/Public/Icons/Extension.svg',
'labels' => 'LLL:EXT:brofix/Resources/Private/Language/Module/locallang_mod.xlf',
]
);
// Add Info module: Broken link list
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::insertModuleFunction(
'web_brofix',
\Sypets\Brofix\Controller\BrokenLinkListController::class,
null,
'LLL:EXT:brofix/Resources/Private/Language/locallang.xlf:function.list.header.broken_links'
);
// Add Info module: Manage exclusions
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::insertModuleFunction(
'web_brofix',
\Sypets\Brofix\Controller\ManageExclusionsController::class,
null,
'LLL:EXT:brofix/Resources/Private/Language/locallang.xlf:function.list.header.manage_exclusions'
);
// Initialize Context Sensitive Help (CSH)
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr(
'brofix',
'EXT:brofix/Resources/Private/Language/Module/locallang_csh.xlf'
);