MediaItemHooks

class \TYPO3\CMS\Frontend\Hooks\MediaItemHooks

Implements
SingletonInterface

Adds extra fields into 'media' flexform

Table of Contents

Interfaces

SingletonInterface
"empty" interface for singletons (marker interface pattern)

Methods

customMediaParams()  : mixed
Load extra predefined media params if they exist
customMediaRenderTypes()  : mixed
Load extra render types if they exist

Methods

customMediaParams()

Load extra predefined media params if they exist

public customMediaParams(array &$params, array $conf) : mixed

Parameters

$params : array

Existing types by reference

$conf : array

Config array

customMediaRenderTypes()

Load extra render types if they exist

public customMediaRenderTypes(array &$params, array $conf) : mixed

Parameters

$params : array

Existing types by reference

$conf : array

Config array

On this page