Deprecation: #88995 - Calling registerPlugin with vendor name¶
See forge#88995
Description¶
The first parameter $extensionName
of method \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin
used to contain the vendor name in the past.
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
'TYPO3.CMS.Form',
'Formframework',
'Form',
'content-form',
);
As the vendor name does not have any effect at all, it's usage has been marked as deprecated.
Impact¶
Calling registerPlugin()
with first parameter containing dots (considered to be the full vendor) name will trigger a PHP E_USER_DEPRECATED
error.
As of TYPO3 v11 using the vendor name along with the extension name will lead to a wrong registration of plugins.
Affected Installations¶
All installations that add the vendor name to the first parameter $extensionName
of method \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin()
are affected.
Migration¶
Just use the extension name like in this example.
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
'Form',
'Formframework',
'Form',
'content-form',
);