‪TYPO3CMS  10.4
TYPO3\CMS\Frontend\ContentObject\ContentObjectGetSingleHookInterface Interface Reference

Public Member Functions

string getSingleContentObject ($contentObjectName, array $configuration, $TypoScriptKey, ContentObjectRenderer &$parentObject)
 

Detailed Description

Interface for classes which hook into \TYPO3\CMS\Frontend\ContentObject and do additional cObjGetSingle processing

Deprecated:
‪will be removed in TYPO3 v11, as this functionality has been moved into ‘$GLOBALS['TYPO3_CONF_VARS’]['FE']['ContentObjects']`

Definition at line 23 of file ContentObjectGetSingleHookInterface.php.

Member Function Documentation

◆ getSingleContentObject()

string TYPO3\CMS\Frontend\ContentObject\ContentObjectGetSingleHookInterface::getSingleContentObject (   $contentObjectName,
array  $configuration,
  $TypoScriptKey,
ContentObjectRenderer $parentObject 
)

Renders content objects, that are not defined in the core

Parameters
string$contentObjectName‪The content object name, eg. "TEXT" or "USER" or "IMAGE
array$configuration‪Array with TypoScript properties for the content object
string$TypoScriptKey‪Label used for the internal debug tracking
\TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer$parentObject‪Parent content object
Returns
‪string cObject output