0d5609b8d9bb7e56407322b646cf9b72f7ec088b
[Packages/TYPO3.CMS.git] / typo3 / sysext / recordlist / ext_localconf.php
1 <?php
2 defined('TYPO3_MODE') or die();
3
4 // Register element browsers
5 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ElementBrowsers']['db'] = \TYPO3\CMS\Recordlist\Browser\DatabaseBrowser::class;
6 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ElementBrowsers']['file'] = \TYPO3\CMS\Recordlist\Browser\FileBrowser::class;
7 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ElementBrowsers']['folder'] = \TYPO3\CMS\Recordlist\Browser\FolderBrowser::class;
8
9 // Register default link handlers
10 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig('
11 TCEMAIN.linkHandler {
12 page {
13 handler = TYPO3\\CMS\\Recordlist\\LinkHandler\\PageLinkHandler
14 label = LLL:EXT:recordlist/Resources/Private/Language/locallang_browse_links.xlf:page
15 }
16 file {
17 handler = TYPO3\\CMS\\Recordlist\\LinkHandler\\FileLinkHandler
18 label = LLL:EXT:recordlist/Resources/Private/Language/locallang_browse_links.xlf:file
19 displayAfter = page
20 scanAfter = page
21 }
22 folder {
23 handler = TYPO3\\CMS\\Recordlist\\LinkHandler\\FolderLinkHandler
24 label = LLL:EXT:recordlist/Resources/Private/Language/locallang_browse_links.xlf:folder
25 displayAfter = file
26 scanAfter = file
27 }
28 url {
29 handler = TYPO3\\CMS\\Recordlist\\LinkHandler\\UrlLinkHandler
30 label = LLL:EXT:recordlist/Resources/Private/Language/locallang_browse_links.xlf:extUrl
31 displayAfter = folder
32 scanAfter = mail
33 }
34 mail {
35 handler = TYPO3\\CMS\\Recordlist\\LinkHandler\\MailLinkHandler
36 label = LLL:EXT:recordlist/Resources/Private/Language/locallang_browse_links.xlf:email
37 displayAfter = url
38 }
39 }
40 ');