‪TYPO3CMS  ‪main
TYPO3\CMS\Frontend\ContentObject\Event\EnhanceStdWrapEvent Class Reference
Inheritance diagram for TYPO3\CMS\Frontend\ContentObject\Event\EnhanceStdWrapEvent:
TYPO3\CMS\Frontend\ContentObject\Event\AfterStdWrapFunctionsExecutedEvent TYPO3\CMS\Frontend\ContentObject\Event\AfterStdWrapFunctionsInitializedEvent TYPO3\CMS\Frontend\ContentObject\Event\BeforeStdWrapFunctionsExecutedEvent TYPO3\CMS\Frontend\ContentObject\Event\BeforeStdWrapFunctionsInitializedEvent

Public Member Functions

 __construct (private ?string $content, private readonly array $configuration, private readonly ContentObjectRenderer $contentObjectRenderer)
 
 getContent ()
 
 setContent (string $content)
 
 getConfiguration ()
 
 getContentObjectRenderer ()
 

Detailed Description

Listeners to this Event are able to modify the stdWrap processing, enhancing the functionality and manipulating the final result / content. This is the parent Event, which allows the corresponding listeners to be called on each step, see child Events:

See also
BeforeStdWrapFunctionsInitializedEvent
AfterStdWrapFunctionsInitializedEvent
BeforeStdWrapFunctionsExecutedEvent
AfterStdWrapFunctionsExecutedEvent

Note: The class is declared abstract to prevent it from being dispatched directly. Only child classes are to be dispatched to prevent duplicate executions.

Definition at line 35 of file EnhanceStdWrapEvent.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Frontend\ContentObject\Event\EnhanceStdWrapEvent::__construct ( private ?string  $content,
private readonly array  $configuration,
private readonly ContentObjectRenderer  $contentObjectRenderer 
)

Definition at line 37 of file EnhanceStdWrapEvent.php.

Member Function Documentation

◆ getConfiguration()

TYPO3\CMS\Frontend\ContentObject\Event\EnhanceStdWrapEvent::getConfiguration ( )

Definition at line 53 of file EnhanceStdWrapEvent.php.

◆ getContent()

TYPO3\CMS\Frontend\ContentObject\Event\EnhanceStdWrapEvent::getContent ( )

Definition at line 43 of file EnhanceStdWrapEvent.php.

◆ getContentObjectRenderer()

TYPO3\CMS\Frontend\ContentObject\Event\EnhanceStdWrapEvent::getContentObjectRenderer ( )

Definition at line 58 of file EnhanceStdWrapEvent.php.

◆ setContent()

TYPO3\CMS\Frontend\ContentObject\Event\EnhanceStdWrapEvent::setContent ( string  $content)