Problem/Motivation

As described in #3072960: Port node_revision_bulk_delete to D8 and merge to node_revision_delete, this task if for creating the additional checkbox in /node/[nid]/revisions/[rid]/delete which allows user to delete all revisions of the current node.

Proposed resolution

Use hook_form_node_revision_delete_confirm_alter() to add the checkbox

Remaining tasks

Port the D7 form to D8

User interface changes

- Add a collapsible fieldset displaying the option to delete prior revisions
- Additional checkbox in /node/[nid]/revisions/[rid]/delete
- A table listing out prior revisions

API changes

None

Data model changes

None

Release notes snippet

None

Comments

Robert Ngo created an issue. See original summary.

robert ngo’s picture

adriancid’s picture

Category: Task » Feature request
robert ngo’s picture

node_revision_delete_confirm form altered with new option.

robert ngo’s picture

Issue summary: View changes

  • adriancid committed 63685ca on 8.x-1.x authored by Robert Ngo
    Issue #3072966 by Robert Ngo, adriancid: Add checkbox to delete all...

  • adriancid committed bd769ef on 7.x-3.x
    Issue #3072966 by Robert Ngo, adriancid: Add checkbox to delete all...
adriancid’s picture

Status: Active » Fixed

Thanks, I just replace the array() definition with []

robert ngo’s picture

Oh, right. Thanks @adriancid

  • adriancid committed ee3f871 on 7.x-3.x
    Issue #3072966 by Robert Ngo, adriancid: Add checkbox to delete all...
robert ngo’s picture

Patch to fill revision data into the table of the form

robert ngo’s picture

Patch to revise revisions-to-delete table, make it look like the Revisions table.

robert ngo’s picture

Status: Fixed » Needs review
robert ngo’s picture

Status: Needs review » Active
robert ngo’s picture

Please ignore those 2 patches for now.
Patch to fill data to the table needs to go after the work at #3073399: Function to get revisions prior to a specific revision

robert ngo’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.