‪TYPO3CMS  ‪main
TYPO3\CMS\Frontend\Event\ModifyTypoScriptConstantsEvent Class Reference

Public Member Functions

 __construct (private RootNode $constantsAst,)
 
 getConstantsAst ()
 
 setConstantsAst (RootNode $constantsAst)
 

Detailed Description

This event will provide listeners with the opportunity to adjust constants according to the users' requirements

This event did not stabilize yet and may change. Use at your own risk. Note the TypoScript AST is also marked

at the moment and may change as well.

Definition at line 28 of file ModifyTypoScriptConstantsEvent.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Frontend\Event\ModifyTypoScriptConstantsEvent::__construct ( private RootNode  $constantsAst)

Definition at line 30 of file ModifyTypoScriptConstantsEvent.php.

Member Function Documentation

◆ getConstantsAst()

TYPO3\CMS\Frontend\Event\ModifyTypoScriptConstantsEvent::getConstantsAst ( )

Definition at line 34 of file ModifyTypoScriptConstantsEvent.php.

◆ setConstantsAst()

TYPO3\CMS\Frontend\Event\ModifyTypoScriptConstantsEvent::setConstantsAst ( RootNode  $constantsAst)

Definition at line 39 of file ModifyTypoScriptConstantsEvent.php.