forked from pixelant/pxa_cookie_bar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ext_tables.php
28 lines (25 loc) · 909 Bytes
/
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
<?php
defined('TYPO3_MODE') or die('Access denied.');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr(
'tx_pxacookiebar_domain_model_cookiewarning',
'EXT:pxa_cookie_bar/Resources/Private/Language/locallang_csh_tx_pxacookiebar_domain_model_cookiewarning.xlf'
);
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages(
'tx_pxacookiebar_domain_model_cookiewarning'
);
if (TYPO3_MODE === 'BE') {
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
'Pixelant.PxaCookieBar',
'web',
'mod1',
'',
[
'CookieBarAdministration' => 'index'
],
[
'access' => 'user,group',
'icon' => 'EXT:pxa_cookie_bar/Resources/Public/Icons/cookies.svg',
'labels' => 'LLL:EXT:pxa_cookie_bar/Resources/Private/Language/locallang_module.xlf',
]
);
}