ext_localconf.php 1.14 KB
Newer Older
1 2 3 4 5 6 7
<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}

\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerTypeConverter(
8
    \T3o\Election\Property\TypeConverter\UploadedFileReferenceConverter::class
9
);
10

11
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
12
    'T3o.election',
13 14
    'pi1',
    array(
15 16 17 18
        \T3o\Election\Controller\FeDashboardController::CONTROLLER_NAME =>
            \T3o\Election\Controller\FeDashboardController::getActionsForPluginConfiguration(),
        \T3o\Election\Controller\FeElectionController::CONTROLLER_NAME =>
            \T3o\Election\Controller\FeElectionController::getActionsForPluginConfiguration(),
19 20
    ),
    array(
21 22 23 24
        \T3o\Election\Controller\FeDashboardController::CONTROLLER_NAME =>
            \T3o\Election\Controller\FeDashboardController::getActionsForPluginConfiguration(),
        \T3o\Election\Controller\FeElectionController::CONTROLLER_NAME =>
            \T3o\Election\Controller\FeElectionController::getActionsForPluginConfiguration(),
25 26
    )
);
Marco Huber's avatar
Marco Huber committed
27 28

$GLOBALS['TYPO3_CONF_VARS']['LOG']['TYPO3']['CMS']['deprecations']['writerConfiguration'][\TYPO3\CMS\Core\Log\LogLevel::NOTICE] = [];