[BUGFIX] Fix broken tooltip for clipboard header icons
[Packages/TYPO3.CMS.git] / typo3 / sysext / recordlist / ext_tables.php
1 <?php
2 defined('TYPO3_MODE') or die();
3
4 if (TYPO3_MODE === 'BE') {
5 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModule(
6 'web',
7 'list',
8 '',
9 '',
10 array(
11 'routeTarget' => \TYPO3\CMS\Recordlist\RecordList::class . '::mainAction',
12 'access' => 'user,group',
13 'name' => 'web_list',
14 'icon' => 'EXT:recordlist/Resources/Public/Icons/module-list.svg',
15 'labels' => array(
16 'll_ref' => 'LLL:EXT:lang/locallang_mod_web_list.xlf',
17 ),
18 )
19 );
20
21 // register element browsers
22 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ElementBrowsers']['db'] = \TYPO3\CMS\Recordlist\Browser\DatabaseBrowser::class;
23 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ElementBrowsers']['file'] = \TYPO3\CMS\Recordlist\Browser\FileBrowser::class;
24 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ElementBrowsers']['folder'] = \TYPO3\CMS\Recordlist\Browser\FolderBrowser::class;
25
26 // register default link handlers
27 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig('
28 TCEMAIN.linkHandler {
29 page {
30 handler = TYPO3\\CMS\\Recordlist\\LinkHandler\\PageLinkHandler
31 label = LLL:EXT:lang/locallang_browse_links.xlf:page
32 }
33 file {
34 handler = TYPO3\\CMS\\Recordlist\\LinkHandler\\FileLinkHandler
35 label = LLL:EXT:lang/locallang_browse_links.xlf:file
36 displayAfter = page
37 scanAfter = page
38 }
39 folder {
40 handler = TYPO3\\CMS\\Recordlist\\LinkHandler\\FolderLinkHandler
41 label = LLL:EXT:lang/locallang_browse_links.xlf:folder
42 displayAfter = file
43 scanAfter = file
44 }
45 url {
46 handler = TYPO3\\CMS\\Recordlist\\LinkHandler\\UrlLinkHandler
47 label = LLL:EXT:lang/locallang_browse_links.xlf:extUrl
48 displayAfter = folder
49 scanAfter = mail
50 }
51 mail {
52 handler = TYPO3\\CMS\\Recordlist\\LinkHandler\\MailLinkHandler
53 label = LLL:EXT:lang/locallang_browse_links.xlf:email
54 displayAfter = url
55 }
56 }
57 ');
58 }