BackendUtilityHook
This is a specific hook implementation and is not considered part of the Public TYPO3 API.
Table of Contents
Methods
- createPageUriForWorkspaceVersion() : void
- Hooks into the PagePreviewUri and redirects to the workspace preview only if we're in a workspace and if the frontend-preview is disabled.
- displayEditingStagedElementInformation() : void
- Use that hook to show an info message in case someone starts editing a staged element
- getBackendUser() : BackendUserAuthentication
- getLanguageService() : LanguageService|null
Methods
createPageUriForWorkspaceVersion()
Hooks into the PagePreviewUri and redirects to the workspace preview only if we're in a workspace and if the frontend-preview is disabled.
public
createPageUriForWorkspaceVersion(BeforePagePreviewUriGeneratedEvent $event) : void
Parameters
- $event : BeforePagePreviewUriGeneratedEvent
displayEditingStagedElementInformation()
Use that hook to show an info message in case someone starts editing a staged element
public
displayEditingStagedElementInformation(ModifyEditFormUserAccessEvent $event) : void
Parameters
- $event : ModifyEditFormUserAccessEvent
getBackendUser()
protected
getBackendUser() : BackendUserAuthentication
Return values
BackendUserAuthenticationgetLanguageService()
protected
getLanguageService() : LanguageService|null