BeforeStdWrapFunctionsExecutedEvent¶
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\BeforeStdWrapFunctionsExecutedEvent
is called directly after the recursive stdWrap function
call, but still before the content gets modified.
Calling order of similar events:
- BeforeStdWrapFunctionsInitializedEvent
- AfterStdWrapFunctionsInitializedEvent
- BeforeStdWrapFunctionsExecutedEvent
- AfterStdWrapFunctionsExecutedEvent
See also
Example¶
Have a look into the example of EnhanceStdWrapEvent.
API¶
- class BeforeStdWrapFunctionsExecutedEvent ¶
-
- Fully qualified name
- \TYPO3\CMS\Frontend\ContentObject\Event\BeforeStdWrapFunctionsExecutedEvent
Event is called directly after the recursive stdWrap function call but still before the content gets modified
- getContent ( ) ¶
-
- Returns
-
?string
- setContent ( string $content) ¶
-
- param $content
-
the content
- getConfiguration ( ) ¶
-
- Returns
-
array
- getContentObjectRenderer ( ) ¶
-
- Returns
-
\TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer