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