Start passing entity type/entity ID context to SdcController from the FE

Created on 18 July 2024, 4 months ago
Updated 21 August 2024, 3 months ago

Overview

At present we're hard coding loading node 1 β€” see \Drupal\experience_builder\Controller\SdcController::layout().

Clearly this is not going to be the final solution

Proposed resolution

Add entity type, id (and view mode?) to configuration slice.
Boot the app with these from drupalSettings in Drupal context.
Use those in rawBaseQuery to do slug replacements.
Update the URLs in FE to include the slugs.
Update Drupal route to do the param upcasting.

User interface changes

πŸ“Œ Task
Status

Fixed

Component

Data model

Created by

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

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024