‪TYPO3CMS  10.4
TYPO3\CMS\Workspaces\Hook\BackendUtilityHook Class Reference

Public Member Functions

 preProcess (&$pageUid, $backPath, $rootLine, $anchorSection, &$viewScript, $additionalGetVars, $switchFocus)
 
bool makeEditForm_accessCheck ($params)
 

Protected Member Functions

LanguageService null getLanguageService ()
 

Detailed Description

Befunc service

This is a specific hook implementation and is not considered part of the Public TYPO3 API.

Definition at line 32 of file BackendUtilityHook.php.

Member Function Documentation

◆ getLanguageService()

LanguageService null TYPO3\CMS\Workspaces\Hook\BackendUtilityHook::getLanguageService ( )
protected
Returns
‪LanguageService|null

Definition at line 84 of file BackendUtilityHook.php.

References $GLOBALS.

Referenced by TYPO3\CMS\Workspaces\Hook\BackendUtilityHook\makeEditForm_accessCheck().

◆ makeEditForm_accessCheck()

bool TYPO3\CMS\Workspaces\Hook\BackendUtilityHook::makeEditForm_accessCheck (   $params)

◆ preProcess()

TYPO3\CMS\Workspaces\Hook\BackendUtilityHook::preProcess ( $pageUid,
  $backPath,
  $rootLine,
  $anchorSection,
$viewScript,
  $additionalGetVars,
  $switchFocus 
)

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.

Parameters
int$pageUid
string$backPath
array$rootLine
string$anchorSection
string$viewScript
string$additionalGetVars
bool$switchFocus

Definition at line 46 of file BackendUtilityHook.php.

References $GLOBALS.