ext_localconf.php 580 Bytes
Newer Older
1
2
<?php
if (!defined('TYPO3_MODE')) {
3
    die('Access denied.');
4
5
}

6
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin('T3o.' . $_EXTKEY, 'Pi1', [
Stefan Busemann's avatar
Stefan Busemann committed
7
        'SlackUser' => 'index, new, create, message, connect, sendConfirmationMail, confirmation',
8

9
10
    ], // non-cacheable actions
    [
Stefan Busemann's avatar
Stefan Busemann committed
11
        'SlackUser' => 'index, new, create, message, connect, sendConfirmationMail, confirmation',
12

13
    ]);
14

15
if (TYPO3_MODE === 'BE') {
16
    $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['extbase']['commandControllers'][$_EXTKEY] = T3o\T3oSlack\Command\SlackImportCommandController::class;
17
}