Closed (fixed)
Project:
Sites
Version:
1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
16 Jun 2026 at 13:01 UTC
Updated:
7 Jul 2026 at 13:00 UTC
Jump to comment: Most recent
When on the default site it is not possible to preview the frontpage of other configured sites. The existing preview functionality only covers specific entities (e.g. /node/{node}/site/{site}), not the site's entry point.
Add a new route /site/{site}/preview/frontpage that switches the site context to the given site and renders its configured frontpage. The existing SiteSwitcherInterface and SitesPreviewPageVariantSubscriber infrastructure can be reused. A link to this route should be exposed in the site administration overview.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
gashunk commentedComment #6
hydra commented