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.
Just that. For testing purposes I created around 100 block. If I go to admin/content/blocks I see no way to bulk delete them. Should I do it manually.? Any way to bulk delete here?
Comments
Comment #1
marc.groth CreditAttribution: marc.groth commentedNot sure if you still need help with this but if what you want to do is delete them all then you can just put this code somewhere:
Note that this will delete ALL beans so only execute the above if that is what you are trying to achieve. I also created a number of test beans and wanted to quickly delete them all. The above code takes care of that.
I'm sure there must be some way to use VBO (Views Bulk Operations) and Views to allow you to delete selected ones, though I haven't tried that myself.