Introduce value objects for auto save entries, split up ApiAutoSaveController::post

Created on 18 February 2025, about 2 months ago

Overview

\Drupal\experience_builder\Controller\ApiAutoSaveController::post is doing a lot of juggling depending on the type of the autosave entry. πŸ“Œ Allow CMS Author to set site's homepage from navigation Postponed will add another case.
We should consider making the return type from the autosave manager value objects instead of associative arrays.
These could then hold the logic for each type e.g. -

* ContentEntityAutoSaveEntry
* ConfigEntityAutoSaveEntry
* PageTemplateAutoSaveEntry
* SimpleConfigAutoSaveEntry

Proposed resolution

User interface changes

πŸ“Œ Task
Status

Active

Version

0.0

Component

Page builder

Created by

πŸ‡¦πŸ‡ΊAustralia larowlan πŸ‡¦πŸ‡ΊπŸ.au GMT+10

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024