Closed (fixed)
Project:
Commerce Core
Version:
8.x-2.x-dev
Component:
Developer experience
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
2 Mar 2017 at 15:45 UTC
Updated:
24 Mar 2017 at 13:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
vasikehere is patch for this.
I hope i didn't miss a thing about there.
I didn't make a PR as maybe the builds fail for 8.2
Comment #3
berdirThis works fine on 8.2, all the API's already existed, we just removed one additional wrapper, internally entity.query already used this method.
sounds like this would be a nice case for a generic entity bundle delete form, you already have like three of those.
And actually, what I'd like to have is one that allows to delete those with a batch and then returns to the delete confirmation page, instead of just denying it.
yes, that's the only case when you possibly need to inject the entity type manager when you didn't before.. when you just need to do a count query.
Comment #4
vasike@Berdir : thanks for your specs.
and there is the patch PR for this
https://github.com/drupalcommerce/commerce/pull/661
Comment #6
bojanz commentedGood idea. This was not possible before because we didn't have the single/plural entity type labels.
I've committed vasike's current work and opened a followup to track this: #2859570: Create a generic entity bundle delete form.