‪TYPO3CMS  9.5
TYPO3\CMS\T3editor\Hook\FileEditHook Class Reference

Public Member Functions

 preOutputProcessingHook (array $parameters, EditFileController $pObj)
 

Detailed Description

File edit hook for t3editor

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

Definition at line 29 of file FileEditHook.php.

Member Function Documentation

◆ preOutputProcessingHook()

TYPO3\CMS\T3editor\Hook\FileEditHook::preOutputProcessingHook ( array  $parameters,
EditFileController  $pObj 
)

Hook-function: inject t3editor JavaScript code before the page is compiled called in file_edit module

Parameters
array$parameters
EditFileController$pObj
Exceptions

Definition at line 40 of file FileEditHook.php.

References TYPO3\CMS\Core\Resource\AbstractFile\getExtension(), TYPO3\CMS\Core\Resource\ResourceFactory\getInstance(), and TYPO3\CMS\Core\Resource\ResourceFactory\retrieveFileOrFolderObject().