From 3a13b2dea3c8785a4be1c063bbd6706982f028d7 Mon Sep 17 00:00:00 2001 From: Oliver Klee Date: Tue, 15 Feb 2022 15:47:57 +0100 Subject: [PATCH] [BUGFIX] Stop using the vendor name for plugin registration (#385) This has been deprecated in TYPO3 10.0: https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/10.0/Deprecation-87550-UseControllerClassesWhenRegisteringPluginsmodules.html Fixes #383 --- Configuration/TCA/Overrides/tt_content.php | 4 ++-- ext_localconf.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Configuration/TCA/Overrides/tt_content.php b/Configuration/TCA/Overrides/tt_content.php index 7d2f18f..76006c3 100644 --- a/Configuration/TCA/Overrides/tt_content.php +++ b/Configuration/TCA/Overrides/tt_content.php @@ -4,8 +4,8 @@ defined('TYPO3_MODE') || die(); // This makes the plugin selectable in the BE. \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin( - // extension name, exactly matching the PHP namespaces (vendor and product) - 'TTN.Tea', + // extension name, matching the PHP namespaces (but without the vendor) + 'Tea', // arbitrary, but unique plugin name (not visible in the BE) 'Tea', // plugin title, as visible in the drop-down in the BE diff --git a/ext_localconf.php b/ext_localconf.php index 67b3c3b..c8bbee3 100644 --- a/ext_localconf.php +++ b/ext_localconf.php @@ -5,8 +5,8 @@ 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', + // extension name, matching the PHP namespaces (but without the vendor) + 'Tea', // arbitrary, but unique plugin name (not visible in the BE) 'Tea', // all actions