Currently, after selecting multiple terms, and then clicking Delete selected terms button at the bottom, it immediately deletes the terms, then display a message for how many terms were deleted.
It would be helpful to have a confirmation step, that lists the names of all terms selected, and Please Confirm or Are You Sure? before actually deleting. If the user Cancels, it would be great to be able to go back to the list with any terms still selected so as to be able to make a tweak to those that were clicked.
We have a couple thousand terms to scroll through and it can be easy to forget exactly which terms that were clicked on as scrolling down the screen... and would be nice to have this one final step to reconcile.
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | btd.avi | 429.94 KB | chaitanyadessai |
| #6 | Screenshot from 2026-02-24 15-52-44.png | 31.3 KB | divya.sejekan |
Issue fork bulk_term_delete-3575315
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
Comment #4
chaitanyadessai commented@fizcs3 Please review MR
Comment #5
chaitanyadessai commentedComment #6
divya.sejekan commentedReviewed the MR!3 . Works well
RTBC++
Steps followed:
1. Enable Bulk term delete module
2. Create taxonomy terms
3. Click on bulk delete
4. Check the confirmation message
Comment #7
fizcs3 commentedThanks so much @chaitanyadessai and @divya.sejekan
I just reviewed as well. It works, but I noticed a few things:
$items[] = $term->label() . ' (TID: ' . $term->id() . ')';to the confirm page.Comment #8
chaitanyadessai commentedPlease review..
Comment #9
chaitanyadessai commentedComment #10
fizcs3 commented@chaitanyadessai I just tested and all 3 of my concerns above were addressed in the added commit to MR!3 -- this is working great for me, fantastic to be able to preserve what was clicked after cancel, thank you so much!
I should mention also I am on Drupal 10.5.8
Moving to RTBC, unless any other concerns
Comment #11
chaitanyadessai commentedFixed and released thanks all.