ContentObjectGetImageResourceHookInterface
Interface for classes which hook into \TYPO3\CMS\Frontend\ContentObject and do additional getImgResource processing
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<string|int, mixed>
- Hook for post-processing image resources
Methods
getImgResourcePostProcess()
Hook for post-processing image resources
public
getImgResourcePostProcess(string $file, array<string|int, mixed> $configuration, array<string|int, mixed> $imageResource, ContentObjectRenderer $parent) : array<string|int, mixed>
Parameters
- $file : string
-
Original image file
- $configuration : array<string|int, mixed>
-
TypoScript getImgResource properties
- $imageResource : array<string|int, mixed>
-
Information of the created/converted image resource
- $parent : ContentObjectRenderer
-
Parent content object
Return values
array<string|int, mixed> —Modified image resource information