#111456Centralize form editor link generation in EXT:form
Description
Problem
Places outside the form module that link into the form editor build the
URL themselves and each decide on their own whether the link is offered.
Today this is the record list action for form_definition records in
@ModifyFormDefinitionRecordActionsEventListener@.
Upcoming entry points need the same decision: a “Edit in form editor“
control on the form selector of the form content element (see #110185)
and an action in the page module preview. Without one shared place, each
of them would repeat the access rules of the form editor.
Proposal
Add an internal service TYPO3\CMS\Form\Service\FormEditorLinkProvider:
Reviews 1
History 12
-
Gerrit Code Review pushed patch set 1 for main to change 97660 status
NewUnder Review <span data-processor="relativetime" data-value="2026-11-14T18:15:01+00:00" > 11/14/26, 18:15 </span> -
Josua Vogel commented and changed status
Under ReviewResolved done0 %100 % <span data-processor="relativetime" data-value="2026-11-18T07:15:13+00:00" > 11/18/26, 07:15 </span>
Applied in changeset commit:6379c1ff5e0df7d871ab1163117cb21da06e1b06.