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

marc.groth’s picture

Not 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:

$beans = bean_get_all_beans();
foreach($beans as $bean) {
  bean_delete($bean);
}

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.