Review main Merged

21850[FEATURE] Allow flexible configuration for BE submodules

Benni Mack CR +2 V +2 Normal +117 −47 updated 07/04/13, 13:41

Commit message

Previously Backend modules could be configured
via a conf.php file that had $MCONF and $MLANG
variables. Additionally, a Extbase extension could
add more configuration via another API method.
However, the building of the module list
(ModuleLoader) and the internal rendering for
ExtJS (ModuleMenuView) is quite tricky and hard
to override.

The public API call
ExtensionManagementUtility::addModule() has another
parameter now to ship additional configuration that will
override $MCONF from conf.php, or even replace
that information completely, so conf.php will be obsolete.

This is a prerequisite for overriding the configuration
"navigationComponentId" to allow the page tree in other areas
than the web module. Additionally, if the new option
"inheritNavigationComponentFromMainModule" is set to
FALSE (TRUE if not set), then e.g. a web_* module can have
the page tree disabled.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 3