Add the ability to mark (VBO) actions as workspace-safe

Created on 16 July 2018, over 6 years ago
Updated 29 April 2024, 8 months ago

Problem/Motivation

We discovered in #2975334: Prevent changes that would leak into the Live workspace β†’ that some VBO actions might be safe to run in a non-default workspace, for example those that deal with supported (revisionable and publishable) entity types, while others might not be.

Proposed resolution

Use the API provided by πŸ“Œ Add an API for allowing modules to mark their forms as workspace-safe Needs work and allow bulk operations for supported entity types.

Remaining tasks

Review.

User interface changes

Nope.

API changes

The API added in πŸ“Œ Add an API for allowing modules to mark their forms as workspace-safe Needs work is being extended with a new trait (Drupal\Core\Entity\Form\WorkspaceSafeFormTrait), based on the needs that were observed while implementing support for bulk operations.

Data model changes

Nope.

πŸ“Œ Task
Status

Fixed

Version

10.3 ✨

Component
WorkspacesΒ  β†’

Last updated 4 days ago

No maintainer
Created by

πŸ‡·πŸ‡΄Romania amateescu

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

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024