Task #40333

Task #40095: Move core to namespaces

Change all Extbase ExtensionUtility::registerModule calls in the core

Added by Thomas Maroschik almost 9 years ago. Updated over 2 years ago.

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'
));
#1

Updated by Gerrit Code Review almost 9 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/14196

#2

Updated by Gerrit Code Review almost 9 years ago

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/14197

#3

Updated by Gerrit Code Review over 8 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/14196

#4

Updated by Gerrit Code Review over 8 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/14197

#5

Updated by Helmut Hummel over 8 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
#6

Updated by Benni Mack over 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF