-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
ext_localconf.php
31 lines (28 loc) · 958 Bytes
/
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
<?php
if (!isset($GLOBALS['TYPO3_CONF_VARS']['SYS']['features']['instagram.tokenGeneratorBeModule'])) {
$GLOBALS['TYPO3_CONF_VARS']['SYS']['features']['instagram.tokenGeneratorBeModule'] = true;
}
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
'Instagram',
'List',
[
\SvenPetersen\Instagram\Controller\PostController::class => 'list, show',
],
// non-cacheable actions
[
\SvenPetersen\Instagram\Controller\PostController::class => '',
],
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::PLUGIN_TYPE_CONTENT_ELEMENT
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
'Instagram',
'Show',
[
\SvenPetersen\Instagram\Controller\PostController::class => 'show',
],
// non-cacheable actions
[
\SvenPetersen\Instagram\Controller\PostController::class => '',
],
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::PLUGIN_TYPE_CONTENT_ELEMENT
);