Actions
Feature #103789
closedAdd close button to page layout, if returnUrl is set
Status:
Closed
Priority:
Should have
Assignee:
Category:
Backend User Interface
Target version:
-
Start date:
2024-05-04
Due date:
% Done:
100%
Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:
Description
If the page layout is opened from another module, it would be helpful to show a close button and return to the calling module on close.
Similar behaviour already exists for the edit form where you can pass a return URL either with
- backend:uri.editRecord ViewHelper (with returnUrl argument)
- UriBuilder::buildUriFromRoute('record_edit' ..
(both are effectively the same, as the editRecord ViewHelper calls buildUriFromRoute.
Possible implementation¶
- if an argument "returnUrl" is set, show a close button in the page module, using this returnUrl as link
Actions