Make the bulk publish verification configurable to allow the user to perform the bulk publish action on the pages in a particular user case

Created on 10 November 2022, about 2 years ago
Updated 5 July 2023, over 1 year ago

Problem/Motivation

A user case below is requested by the clients.

A draft page A refers to another draft page B.
The draft page B has a link to the draft page A.
A draft page C also has two links to the draft page A and B.

The client wants to perform the bulk publish action on the draft page A, B, and C in moderated content page (en/admin/content).

To allow the client work effectively, I temporarily turn off the bulk verification in the path #2. Later i will modify the logic as
function safedelete_moderated_content_bulk_publish_verify_publish($hookObject) {
$has_bulk_pulish_verify = \Drupal::config('safedelete.settings')->get('bulk_pulish_verify');
if (!($has_bulk_pulish_verify)) {
return;
}

....

}

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Feature request
Status

Fixed

Version

1.0

Component

Code

Created by

🇨🇦Canada jamesyao

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

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