TYPO3 CMS  TYPO3_7-6
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

Definition at line 22 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$paramsExisting types by reference
array$confConfig array
Returns
void

Definition at line 48 of file MediaItemHooks.php.

References $GLOBALS, $params, and TYPO3\CMS\Core\Utility\GeneralUtility\getUserObj().

◆ customMediaRenderTypes()

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

Load extra render types if they exist

Parameters
array$paramsExisting types by reference
array$confConfig array
Returns
void

Definition at line 31 of file MediaItemHooks.php.

References $GLOBALS, $params, and TYPO3\CMS\Core\Utility\GeneralUtility\getUserObj().