InitializeCodeEditorInEditFileForm
Read onlyYes
FinalYes
Listener which modifies the form data to initialize code editor with the resolved format option (based on the file extension).
Table of Contents
Methods
- __construct() : mixed
- __invoke() : void
Methods
__construct()
public
__construct(ModeRegistry $modeRegistry) : mixed
Parameters
- $modeRegistry : ModeRegistry
__invoke()
public
__invoke(ModifyEditFileFormDataEvent $event) : void
Parameters
- $event : ModifyEditFileFormDataEvent
Attributes
- #[AsEventListener]
- 'typo3-codeeditor/initialize-code-editor-in-edit-file-form'