pluswerk/cache_automation

View on GitHub
ext_localconf.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php
/***
 * This file is part of an +Pluswerk AG Extension for TYPO3 CMS.
 *
 * For the full copyright and license information, please read the
 * LICENSE.txt file that was distributed with this source code.
 *
 * (c) 2017 Markus Hölzle <markus.hoelzle@pluswerk.ag>, +Pluswerk AG
 ***/

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

call_user_func(function () use ($_EXTKEY) {
    $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processCmdmapClass'][$_EXTKEY] = \Pluswerk\CacheAutomation\Hook\DataHandlerDetector::class;
    $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass'][$_EXTKEY] = \Pluswerk\CacheAutomation\Hook\DataHandlerDetector::class;
});