ContentObjectGetPublicUrlForFileHookInterface

interface \TYPO3\CMS\Frontend\ContentObject\ContentObjectGetPublicUrlForFileHookInterface

Interface for hooks to fetch the public URL of files

Table of Contents

Methods

postProcess()  : mixed
Post-processes a public URL.

Methods

postProcess()

Post-processes a public URL.

public postProcess(ContentObjectRenderer $parent, array $configuration, File $file, string &$pubicUrl) : mixed

Parameters

$parent : ContentObjectRenderer

The current content object (context)

$configuration : array

TypoScript configuration

$file : File

The file object to be used

$pubicUrl : string

Reference to the public URL

On this page