Project

General

Profile

Actions

Task #40333

closed

Task #40095: Move core to namespaces

Change all Extbase ExtensionUtility::registerModule calls in the core

Added by Thomas Maroschik about 12 years ago. Updated about 6 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'
));
Actions #1

Updated by Gerrit Code Review about 12 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

Actions #2

Updated by Gerrit Code Review about 12 years ago

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

Actions #3

Updated by Gerrit Code Review about 12 years ago

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

Actions #4

Updated by Gerrit Code Review about 12 years ago

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

Actions #5

Updated by Helmut Hummel about 12 years ago

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

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF