forked from pixelant/pxa_social_feed
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ext_tables.php
32 lines (30 loc) · 1.19 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
<?php
defined('TYPO3_MODE') or die();
(function () {
if (TYPO3_MODE === 'BE') {
/**
* Registers a Backend Module
*/
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
'Pixelant.pxa_social_feed',
'tools', // Make module a submodule of 'tools'
'pxasocialfeed', // Submodule key
'', // Position
[
\Pixelant\PxaSocialFeed\Controller\AdministrationController::class =>
'index, editToken, updateToken, deleteToken, editConfiguration, ' .
'updateConfiguration, deleteConfiguration, resetAccessToken, runConfiguration'
],
[
'access' => 'user,group',
'icon' => 'EXT:pxa_social_feed/Resources/Public/Icons/BE/feed.svg',
'labels' => 'LLL:EXT:pxa_social_feed/Resources/Private/Language/locallang_be.xlf'
]
);
}
foreach (['feed', 'token', 'configuration'] as $table) {
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages(
'tx_pxasocialfeed_domain_model_' . $table
);
}
})();