2018-05-26 20:46:55 +02:00
|
|
|
<?php
|
2021-11-17 13:14:43 +01:00
|
|
|
|
2019-12-07 19:15:24 +01:00
|
|
|
defined('TYPO3_MODE') or die('Access denied.');
|
|
|
|
|
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
|
|
|
|
[
|
|
|
|
'Tea' => 'index, show',
|
|
|
|
],
|
|
|
|
// non-cacheable actions
|
|
|
|
[
|
|
|
|
'Tea' => '',
|
|
|
|
]
|
|
|
|
);
|
|
|
|
})();
|