2018-05-26 20:46:55 +02:00
|
|
|
<?php
|
2021-11-17 13:14:43 +01:00
|
|
|
|
2022-08-28 12:22:38 +02:00
|
|
|
defined('TYPO3') or die('Access denied.');
|
2019-12-07 19:15:24 +01:00
|
|
|
|
2022-04-29 14:27:06 +02:00
|
|
|
(static function (): void {
|
2019-12-07 19:15:24 +01:00
|
|
|
// This makes the plugin available for front-end rendering.
|
|
|
|
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
|
2022-02-15 15:47:57 +01:00
|
|
|
// extension name, matching the PHP namespaces (but without the vendor)
|
|
|
|
'Tea',
|
2019-12-07 19:15:24 +01:00
|
|
|
// arbitrary, but unique plugin name (not visible in the BE)
|
|
|
|
'Tea',
|
|
|
|
// all actions
|
|
|
|
[
|
2022-06-15 16:15:04 +02:00
|
|
|
\TTN\Tea\Controller\TeaController::class => 'index, show',
|
2019-12-07 19:15:24 +01:00
|
|
|
],
|
|
|
|
// non-cacheable actions
|
|
|
|
[
|
2022-06-15 16:15:04 +02:00
|
|
|
\TTN\Tea\Controller\TeaController::class => '',
|
2019-12-07 19:15:24 +01:00
|
|
|
]
|
|
|
|
);
|
|
|
|
})();
|