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