BackendUtilityHook
Befunc service
This is a specific hook implementation and is not considered part of the Public TYPO3 API.
Table of Contents
Methods
- makeEditForm_accessCheck() : bool
- Use that hook to show an info message in case someone starts editing a staged element
- preProcess() : mixed
- Hooks into the \TYPO3\CMS\Backend\Utility\BackendUtility::viewOnClick and redirects to the workspace preview only if we're in a workspace and if the frontend-preview is disabled.
- getLanguageService() : LanguageService|null
Methods
makeEditForm_accessCheck()
Use that hook to show an info message in case someone starts editing a staged element
public
makeEditForm_accessCheck(array<string|int, mixed> $params) : bool
Parameters
- $params : array<string|int, mixed>
Return values
boolpreProcess()
Hooks into the \TYPO3\CMS\Backend\Utility\BackendUtility::viewOnClick and redirects to the workspace preview only if we're in a workspace and if the frontend-preview is disabled.
public
preProcess(int &$pageUid, string $backPath, array<string|int, mixed> $rootLine, string $anchorSection, string &$viewScript, string $additionalGetVars, bool $switchFocus) : mixed
Parameters
- $pageUid : int
- $backPath : string
- $rootLine : array<string|int, mixed>
- $anchorSection : string
- $viewScript : string
- $additionalGetVars : string
- $switchFocus : bool
getLanguageService()
protected
getLanguageService() : LanguageService|null