mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-12-23 12:26:16 +01:00
tea/ext_localconf.php
Łukasz Uznański f0127b3b64
[TASK] Fix php cs related to official configuration (#341)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2021-11-17 13:14:43 +01:00

21 lines
566 B
PHP

<?php
defined('TYPO3_MODE') or die('Access denied.');
(static function () {
// This makes the plugin available for front-end rendering.
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
// extension name, exactly matching the PHP namespaces (vendor and product)
'TTN.Tea',
// arbitrary, but unique plugin name (not visible in the BE)
'Tea',
// all actions
[
'Tea' => 'index, show',
],
// non-cacheable actions
[
'Tea' => '',
]
);
})();