Problem/Motivation

It's quite hard for 3rd-party to alter the query for revisions to delete/protect. It seems this was somehow accomplished in the D7 version, in #2905912: Allow to alter node candidates

Proposed resolution

  • Tag the base query in NodeRevisionDelete::doProcessItem()
  • Add a tag for revisions to delete and other for revisions to protect, so that 3rd-party can distinguish

Remaining tasks

None.

User interface changes

None.

API changes

Third-party is able to alter the query.

Data model changes

None.

Command icon Show commands

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

claudiu.cristea created an issue. See original summary.

claudiu.cristea’s picture

claudiu.cristea’s picture

Status: Active » Needs review
claudiu.cristea’s picture

Reverted the existing tests failure fix and moved to #3619956: Fix tests failures