Project

General

Profile

Actions

Bug #54869

closed

ExtensionUtility::registerModule Parameters

Added by Felix Kopp over 10 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2014-01-09
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.1
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

The parameter list for \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule has few default parameter values.
Those should also include a default array() for $controllerActions - or remove the default actions for $mainModuleName = '', $subModuleName = '', $position = ''.

Actions #1

Updated by Felix Kopp over 10 years ago

Either

static public function registerModule($extensionName, $mainModuleName = '', $subModuleName = '', $position = '', array $controllerActions = array(), array $moduleConfiguration = array())

or

static public function registerModule($extensionName, $mainModuleName, $subModuleName, $position, array $controllerActions, array $moduleConfiguration = array())

Actions #2

Updated by Gerrit Code Review over 10 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/26717

Actions #3

Updated by Gerrit Code Review about 10 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/26717

Actions #4

Updated by Felix Kopp about 10 years ago

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

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF