ContentObjectGetImageResourceHookInterface
interface \
Interface for classes which hook into \TYPO3\CMS\Frontend\ContentObject and do additional getImgResource processing
Deprecated
not in use anymore since TYPO3 v13, will be removed in TYPO3 14. Only stays to allow extensions to be compatible with TYPO3 v12 + v13.
Table of Contents
Methods
- getImgResourcePostProcess() : array
- Hook for post-processing image resources
Methods
getImgResourcePostProcess()
Hook for post-processing image resources
public
getImgResourcePostProcess(string $file, array $configuration, array $imageResource, ContentObjectRenderer $parent) : array
Parameters
- $file : string
-
Original image file
- $configuration : array
-
TypoScript getImgResource properties
- $imageResource : array
-
Information of the created/converted image resource
- $parent : ContentObjectRenderer
-
Parent content object
Return values
array —Modified image resource information