Issue Bug Closed

#52594Properly deprecate insertModuleFunction "$classPath" parameter

Ernesto Baschny 10/07/13, 18:44 updated 10/02/18, 12:10

Description

To add submodules in existing modules (i.e. Web>Info or Web>Function) you add:

ExtensionManagementUtility::insertModuleFunction($name, $className, $classPath ..)

to your ext_tables.php. The $classPath is then loaded with “include_once” in the relevant module. This is of course old-school in times where we have auto-loading, and thus we need to properly deprecate this method of loading submodules in favor of auto-loading.

See #51471 for a live example (realurl) on how this can be changed to use auto-loading.

Reviews 1