‪TYPO3CMS  ‪main
TYPO3\CMS\Frontend\ContentObject\ContentObjectGetImageResourceHookInterface Interface Reference

Public Member Functions

array getImgResourcePostProcess ($file, array $configuration, array $imageResource, ContentObjectRenderer $parent)
 

Detailed Description

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.

Definition at line 24 of file ContentObjectGetImageResourceHookInterface.php.

Member Function Documentation

◆ getImgResourcePostProcess()

array TYPO3\CMS\Frontend\ContentObject\ContentObjectGetImageResourceHookInterface::getImgResourcePostProcess (   $file,
array  $configuration,
array  $imageResource,
ContentObjectRenderer  $parent 
)

Hook for post-processing image resources

Parameters
string$file‪Original image file
array$configuration‪TypoScript getImgResource properties
array$imageResource‪Information of the created/converted image resource
\TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer$parent‪Parent content object
Returns
‪array Modified image resource information