TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\Frontend\ContentObject\ContentObjectGetSingleHookInterface Interface Reference

Public Member Functions

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

Detailed Description

Interface for classes which hook into and do additional cObjGetSingle processing

Definition at line 20 of file ContentObjectGetSingleHookInterface.php.

Member Function Documentation

◆ getSingleContentObject()

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

Renders content objects, that are not defined in the core

Parameters
string$contentObjectNameThe content object name, eg. "TEXT" or "USER" or "IMAGE
array$configurationArray with TypoScript properties for the content object
string$TypoScriptKeyLabel used for the internal debug tracking
\TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer$parentObjectParent content object
Returns
string cObject output