Actions
Task #40333
closedTask #40095: Move core to namespaces
Change all Extbase ExtensionUtility::registerModule calls in the core
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2012-08-28
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
6.0
PHP Version:
Tags:
Complexity:
Sprint Focus:
Description
After #40243 gets merged the vendor name has to be prepended to the EXTKEY parameter of \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule in all namespaced Extbase modules.
For example in typo3/sysext/about/ext_tables.php:
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule($_EXTKEY, 'help', 'about', 'top', array(
'About' => 'index'
), array(
'access' => 'user,group',
'icon' => 'EXT:about/ext_icon.gif',
'labels' => 'LLL:EXT:lang/locallang_mod_help_about.xlf'
));
has to be changed to:
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule('TYPO3.CMS.' . $_EXTKEY, 'help', 'about', 'top', array(
'About' => 'index'
), array(
'access' => 'user,group',
'icon' => 'EXT:about/ext_icon.gif',
'labels' => 'LLL:EXT:lang/locallang_mod_help_about.xlf'
));
Actions