ModuleRegistry

final class \TYPO3\CMS\Backend\Module\ModuleRegistry

Table of Contents

Methods

__construct()  : mixed
getModule()  : ModuleInterface
getModuleAliases()  : array
getModules()  : ModuleInterface[]
hasModule()  : bool
registerRoutesForModules()  : void
Handle router configuration when the router is set up.

Methods

getModuleAliases()

public getModuleAliases() : array

Return values

array

hasModule()

public hasModule(string $identifier) : bool

Parameters

$identifier : string

Return values

bool

registerRoutesForModules()

Handle router configuration when the router is set up.

public registerRoutesForModules(RouterConfigurationEvent $event) : void

The event registration is wired in TYPO3\CMS\Backend\ServiceProvider::addEventListeners instead of using an AsEventListener because this service is not autowired, but has a custom factory in TYPO3\CMS\Backend\ServiceProvider.

Parameters

$event : RouterConfigurationEvent
On this page