-
Notifications
You must be signed in to change notification settings - Fork 1
/
ext_localconf.php
43 lines (38 loc) · 1.22 KB
/
ext_localconf.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
41
42
<?php
defined('TYPO3') or die('Access denied.');
$GLOBALS['TYPO3_CONF_VARS']['FE']['pageNotFoundOnCHashError'] = 0;
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
'HeadlessSocialFeed',
'Callback',
[
\FriendsOfTYPO3\HeadlessSocialFeed\Controller\CallbackController::class => 'retrieve',
],
[
\FriendsOfTYPO3\HeadlessSocialFeed\Controller\CallbackController::class => 'retrieve',
]
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
'HeadlessSocialFeed',
'Settings',
[
\FriendsOfTYPO3\HeadlessSocialFeed\Controller\SettingsController::class => 'create,import',
],
[
\FriendsOfTYPO3\HeadlessSocialFeed\Controller\SettingsController::class => 'create,import',
]
);
call_user_func(
static function($extensionKey) {
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
'HeadlessSocialFeed',
'Feed',
[
\FriendsOfTYPO3\HeadlessSocialFeed\Controller\FeedController::class => 'list',
],
[
\FriendsOfTYPO3\HeadlessSocialFeed\Controller\FeedController::class => 'list',
]
);
},
'headless_social_feed'
);