ContentObjectGetImageResourceHookInterface

Interface for classes which hook into \TYPO3\CMS\Frontend\ContentObject and do additional getImgResource processing

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


        
On this page

Search results