Deprecation: #82426 - typo3-pagetree navigation component name¶
See forge#82426
Description¶
When registering an extensions's BE module with Extension
it is possible to define 'navigationComponentId'.
The name the navigation component name typo3-
has been marked as deprecated.
TYPO3/
should be used instead.
Impact¶
Calling Extension
with the old navigation component name will trigger a deprecation log entry.
Affected Installations¶
All installations having custom BE modules passing the old navigation component name to Extension
.
Migration¶
Use TYPO3/
instead of typo3-
.
Old configuration:¶
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
'TYPO3.CMS.Workspaces',
'web',
'workspaces',
'before:info',
[
// An array holding the controller-action-combinations that are accessible
'Review' => 'index,fullIndex,singleIndex',
'Preview' => 'index,newPage'
],
[
'access' => 'user,group',
'icon' => 'EXT:workspaces/Resources/Public/Icons/module-workspaces.svg',
'labels' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_mod.xlf',
'navigationComponentId' => 'typo3-pagetree'
]
);
Copied!
Should be changed to new configuration:¶
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
'TYPO3.CMS.Workspaces',
'web',
'workspaces',
'before:info',
[
// An array holding the controller-action-combinations that are accessible
'Review' => 'index,fullIndex,singleIndex',
'Preview' => 'index,newPage'
],
[
'access' => 'user,group',
'icon' => 'EXT:workspaces/Resources/Public/Icons/module-workspaces.svg',
'labels' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_mod.xlf',
'navigationComponentId' => 'TYPO3/CMS/Backend/PageTree/PageTreeElement'
]
);
Copied!