Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Currently they cannot be deleted via the UI.
Let's make that not true!
Comment | File | Size | Author |
---|---|---|---|
#13 | vdc-1828414-13.patch | 2.54 KB | tim.plunkett |
#6 | interdiff.txt | 1.44 KB | tim.plunkett |
#6 | vdc-1828414-6-FAIL.patch | 911 bytes | tim.plunkett |
#6 | vdc-1828414-6-PASS.patch | 2.54 KB | tim.plunkett |
#4 | vdc-1828414-4.patch | 2.51 KB | tim.plunkett |
Comments
Comment #1
tim.plunkettTagging.
Comment #2
tim.plunkettThis was too easy.
And, it's too easy to delete a view too :)
We need a confirm_form().
Comment #3
tim.plunkettHere's a test. Confirmation form later.
Comment #4
tim.plunkettOkay, here's a confirmation form.
Comment #5
tim.plunkettI forgot to update the test for the confirm form, and the submit handler doesn't get the view passed to it.
Comment #6
tim.plunkettFixed the test.
Comment #7
dawehnerI'm wondering whether it makes sense to describe the wrapper itself as "the config entity"
Comment #8
dawehnerThe rest is looking great so far!
Comment #10
yoroy CreditAttribution: yoroy commentedHelp me understand: is this where there actually *is* a delete link in the dropbutton but it doesn't work yet? Because that's what I'm seeing on a fresh d8. Thanks.
*EDIT*: seems like that's the situation indeed. No UI impact then it seems. Would be good to make it work yeah :)
Comment #11
dawehner#6: vdc-1828414-6-FAIL.patch queued for re-testing.
Comment #12
dawehner#6: vdc-1828414-6-PASS.patch queued for re-testing.
Comment #13
tim.plunkettI've fixed this comment, and switched the drupal_goto to $form_state['redirect']
Comment #14
dawehnerThat's looking perfect now!
Comment #16
tim.plunkett#13: vdc-1828414-13.patch queued for re-testing.
Comment #17
aspilicious CreditAttribution: aspilicious commentedBack to rtbc. Nice and easy.
Comment #18
damiankloip CreditAttribution: damiankloip commentedYep, CRUD storage tests are already there for deleting, this adds UI tests aswell. Looks fine!
Comment #19
webchickCommitted to 8.x, thanks!I am going to push once I'm done with my current pile of patches.
No, I'm going to REBASE and THEN push, so I don't cause a 'merge bubble' ;) Stupid Git. ;)
Also, this is very much stretching the definition of a normal bug. ;)