customMediaRenderTypes($params, $conf); } } /** * Load extra predefined media params if they exist * * @param array $params Existing types by reference * @param array $conf Config array */ public function customMediaParams(&$params, $conf) { foreach ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/hooks/class.tx_cms_mediaitems.php']['customMediaParams'] ?? [] as $className) { $hookObj = GeneralUtility::makeInstance($className); $hookObj->customMediaParams($params, $conf); } } }