Workspaces shouldn't disable the 'latest-version' link template

Created on 5 March 2025, 6 days ago

Problem/Motivation

\Drupal\workspaces\EntityTypeInfo::entityTypeAlter() removes the latest-version link template provided by Content Moderation, but when CM and WS are used together, editors can change the state of an entity without an active workspace (i.e. in Live).

Proposed resolution

Deny access to the latest-version route when a workspace is active, and remove the code which deletes that link template.

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Active

Version

11.0 🔥

Component

workspaces.module

Created by

🇷🇴Romania amateescu

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

Comments & Activities

Production build 0.71.5 2024