BeforeStdWrapFunctionsInitializedEvent¶
New in version 13.0
This event is one of the more powerful replacements for the removed hook
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_content.php']['stdWrap']
.
The PSR-14 event
\TYPO3\CMS\Frontend\ContentObject\Event\BeforeStdWrapFunctionsInitializedEvent
is dispatched before any stdWrap function is initialized/called.
Calling order of similar events:
- BeforeStdWrapFunctionsInitializedEvent
- AfterStdWrapFunctionsInitializedEvent
- BeforeStdWrapFunctionsExecutedEvent
- AfterStdWrapFunctionsExecutedEvent
See also
Example¶
Have a look into the example of EnhanceStdWrapEvent.
API¶
- class \TYPO3\CMS\Frontend\ContentObject\Event\ BeforeStdWrapFunctionsInitializedEvent¶
-
Event is dispatched before any stdWrap function is initialized / called
- getContent ( ) ¶
-
- returntype
-
string
- setContent ( string $content) ¶
-
- param string $content
-
the content
- getConfiguration ( ) ¶
-
- returntype
-
array
- getContentObjectRenderer ( ) ¶
-
- returntype
-
TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer