Module

New in version 12.0

The module backend request attribute provides information about the current backend module in the object \TYPO3\CMS\Backend\Module\Module .

Example:

$module = $request->getAttribute('module');
$identifier = $route->getIdentifier();
Copied!

API

class Module
Fully qualified name
\TYPO3\CMS\Backend\Module\Module

A standard backend nodule

getRoutes ( )
Returns
array
getDefaultRouteOptions ( )
Returns
array
createFromConfiguration ( string $identifier, array $configuration)
param $identifier

the identifier

param $configuration

the configuration

Returns
static
getIdentifier ( )
Returns
string
getPath ( )
Returns
string
getIconIdentifier ( )
Returns
string
getTitle ( )
Returns
string
getDescription ( )
Returns
string
getShortDescription ( )
Returns
string
isStandalone ( )
Returns
bool
getNavigationComponent ( )
Returns
string
getComponent ( )
Returns
string
getPosition ( )
Returns
array
getAccess ( )
Returns
string
getWorkspaceAccess ( )
Returns
string
getParentIdentifier ( )
Returns
string
setParentModule ( \TYPO3\CMS\Backend\Module\ModuleInterface $module)
param $module

the module

getParentModule ( )
Returns
?\TYPO3\CMS\Backend\Module\ModuleInterface
hasParentModule ( )
Returns
bool
addSubModule ( \TYPO3\CMS\Backend\Module\ModuleInterface $module)
param $module

the module

hasSubModule ( string $identifier)
param $identifier

the identifier

Returns
bool
hasSubModules ( )
Returns
bool
getSubModule ( string $identifier)
param $identifier

the identifier

Returns
?\TYPO3\CMS\Backend\Module\ModuleInterface
removeSubModule ( string $identifier)
param $identifier

the identifier

getSubModules ( )
Returns
array<string,\ModuleInterface>
getAppearance ( )
Returns
array
getAliases ( )
Returns
array
getDefaultModuleData ( )
Returns
array