mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-22 18:36:13 +01:00

[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
This commit is contained in:
Oliver Klee 2022-02-15 15:47:57 +01:00 committed by GitHub
parent da3390b992
commit 3a13b2dea3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -4,8 +4,8 @@ defined('TYPO3_MODE') || die();
// This makes the plugin selectable in the BE. // This makes the plugin selectable in the BE.
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin( \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
// extension name, exactly matching the PHP namespaces (vendor and product) // extension name, matching the PHP namespaces (but without the vendor)
'TTN.Tea', 'Tea',
// arbitrary, but unique plugin name (not visible in the BE) // arbitrary, but unique plugin name (not visible in the BE)
'Tea', 'Tea',
// plugin title, as visible in the drop-down in the BE // plugin title, as visible in the drop-down in the BE

View file

@ -5,8 +5,8 @@ defined('TYPO3_MODE') or die('Access denied.');
(static function () { (static function () {
// This makes the plugin available for front-end rendering. // This makes the plugin available for front-end rendering.
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin( \TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
// extension name, exactly matching the PHP namespaces (vendor and product) // extension name, matching the PHP namespaces (but without the vendor)
'TTN.Tea', 'Tea',
// arbitrary, but unique plugin name (not visible in the BE) // arbitrary, but unique plugin name (not visible in the BE)
'Tea', 'Tea',
// all actions // all actions