ContextualRecordEditController

readonly class \TYPO3\CMS\Backend\Controller\ContextualRecordEditController

Lightweight controller for editing a single existing record inside the context panel.

This is a focused alternative to EditDocumentController that only handles editing one existing record. It renders the same FormEngine form but with a minimal contextual template, communicating save/close signals to the parent frame via JavaScript.

Attributes

#[AsController]

Table of Contents

Methods

__construct()  : mixed
mainAction()  : ResponseInterface

Methods

__construct()

public __construct(PageRenderer $pageRenderer, UriBuilder $uriBuilder, ModuleTemplateFactory $moduleTemplateFactory, ModuleProvider $moduleProvider, FormDataCompiler $formDataCompiler, NodeFactory $nodeFactory, FormResultFactory $formResultFactory, FormResultHandler $formResultHandler, TcaSchemaFactory $tcaSchemaFactory, IconFactory $iconFactory) : mixed

Parameters

$pageRenderer : PageRenderer
$uriBuilder : UriBuilder
$moduleTemplateFactory : ModuleTemplateFactory
$moduleProvider : ModuleProvider
$formDataCompiler : FormDataCompiler
$nodeFactory : NodeFactory
$formResultFactory : FormResultFactory
$formResultHandler : FormResultHandler
$tcaSchemaFactory : TcaSchemaFactory
$iconFactory : IconFactory

mainAction()

public mainAction(ServerRequestInterface $request) : ResponseInterface

Parameters

$request : ServerRequestInterface

Return values

ResponseInterface
On this page