Fix usage of temporary entity data in Workspaces

Created on 8 January 2025, 5 months ago

Problem/Motivation

The unofficial API for associating temporary data to entity objects is being considered for deprecation in #2896474: Provide an API to temporarily associate data with an entity β†’ . Workspaces uses it to keep track of entities that were created as published inside a workspace, so it can unpublish the default (Live) revision.

Steps to reproduce

Look at \Drupal\workspaces\Hook\EntityOperations::entityPresave().

Proposed resolution

Remove the usage of temporary entity data.

Remaining tasks

Review.

User interface changes

Nope.

Introduced terminology

N/A

API changes

Nope.

Data model changes

Nope.

Release notes snippet

N/A

πŸ“Œ Task
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

Merge Requests

Comments & Activities

Production build 0.71.5 2024