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 \TYPO3\CMS\Backend\Module\ Module
-
A standard backend nodule
- getRoutes ( )
-
- returntype
-
array
- getDefaultRouteOptions ( )
-
- returntype
-
array
- createFromConfiguration ( string $identifier, array $configuration)
-
- param string $identifier
-
the identifier
- param array $configuration
-
the configuration
- returntype
-
static
- getIdentifier ( )
-
- returntype
-
string
- getPath ( )
-
- returntype
-
string
- getIconIdentifier ( )
-
- returntype
-
string
- getTitle ( )
-
- returntype
-
string
- getDescription ( )
-
- returntype
-
string
- getShortDescription ( )
-
- returntype
-
string
- isStandalone ( )
-
- returntype
-
bool
-
- returntype
-
string
- getComponent ( )
-
- returntype
-
string
- getPosition ( )
-
- returntype
-
array
- getAccess ( )
-
- returntype
-
string
- getWorkspaceAccess ( )
-
- returntype
-
string
- getParentIdentifier ( )
-
- returntype
-
string
- setParentModule ( TYPO3\\CMS\\Backend\\Module\\ModuleInterface $module)
-
- param TYPO3\\CMS\\Backend\\Module\\ModuleInterface $module
-
the module
- getParentModule ( )
-
- returntype
-
TYPO3\CMS\Backend\Module\ModuleInterface
- hasParentModule ( )
-
- returntype
-
bool
- addSubModule ( TYPO3\\CMS\\Backend\\Module\\ModuleInterface $module)
-
- param TYPO3\\CMS\\Backend\\Module\\ModuleInterface $module
-
the module
- hasSubModule ( string $identifier)
-
- param string $identifier
-
the identifier
- returntype
-
bool
- hasSubModules ( )
-
- returntype
-
bool
- getSubModule ( string $identifier)
-
- param string $identifier
-
the identifier
- returntype
-
TYPO3\CMS\Backend\Module\ModuleInterface
- removeSubModule ( string $identifier)
-
- param string $identifier
-
the identifier
- getSubModules ( )
-
- returntype
-
array
- Returns:
-
array<string,ModuleInterface>
- getAppearance ( )
-
- returntype
-
array
- getAliases ( )
-
- returntype
-
array
- getDefaultModuleData ( )
-
- returntype
-
array