Deleting field collection bundle programmatically from core I have a field collection bundle that I want to remove from my site. I was googling how to do that and  came upon these instructions, but they seem to be from the ECK module, and only apply to entities created by eck. The company I work for has a module review process and this module doesn't have a stable release yet. 

So, ideally there would be a way for me to do this from core, or at least the field collection module, without extra modules. Is there?

Edit "No, you can't" is a perfectly acceptable answer. If that's the case I would like to stop chasing down blind alleys.
So apparently what I needed was field_delete_field(), and then a field_purge_batch().