‪TYPO3CMS  9.5
TYPO3\CMS\Frontend\Hooks\MediaItemHooks Class Reference
Inheritance diagram for TYPO3\CMS\Frontend\Hooks\MediaItemHooks:
TYPO3\CMS\Core\SingletonInterface

Public Member Functions

 customMediaRenderTypes (&$params, $conf)
 
 customMediaParams (&$params, $conf)
 

Detailed Description

Adds extra fields into 'media' flexform

this is a concrete TYPO3 hook implementation and solely used for EXT:frontend and not part of TYPO3's Core API.

Definition at line 23 of file MediaItemHooks.php.

Member Function Documentation

◆ customMediaParams()

TYPO3\CMS\Frontend\Hooks\MediaItemHooks::customMediaParams ( $params,
  $conf 
)

Load extra predefined media params if they exist

Parameters
array$params‪Existing types by reference
array$conf‪Config array

Definition at line 45 of file MediaItemHooks.php.

References $GLOBALS.

◆ customMediaRenderTypes()

TYPO3\CMS\Frontend\Hooks\MediaItemHooks::customMediaRenderTypes ( $params,
  $conf 
)

Load extra render types if they exist

Parameters
array$params‪Existing types by reference
array$conf‪Config array

Definition at line 31 of file MediaItemHooks.php.

References $GLOBALS.