BackendUtilityHook

class \TYPO3\CMS\Workspaces\Hook\BackendUtilityHook

Befunc service

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 $params) : bool

Parameters

$params : array

Return values

bool

preProcess()

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 $rootLine, string $anchorSection, string &$viewScript, string $additionalGetVars, bool $switchFocus) : mixed

Parameters

$pageUid : int
$backPath : string
$rootLine : array
$anchorSection : string
$viewScript : string
$additionalGetVars : string
$switchFocus : bool
On this page