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.
Implement a Delete action for entities.
#2612572: Add bulk operations to the store/product/order views
There is some work about implementing a generic action for Delete entities.
I think this should be part of Entity API module instead of commerce or other modules.
Comment | File | Size | Author |
---|---|---|---|
#2 | delete_action-2650152-2.patch | 14.26 KB | vasike |
Comments
Comment #2
vasikeAnd here is patch that adapt the work done for commerce issue : #2612572: Add bulk operations to the store/product/order views (PR https://github.com/drupalcommerce/commerce/pull/286).
What's in the patch:
- Delete action deriver - redirects to entities deletion form
- Delete multiple form
- Add "delete multiple form" routes for content entities that have form classes and collection link defined.
For test:
- import a block action config
- And add Bulk update field for "Custom block library" View.
Comment #3
vasike#2612572-12: Add bulk operations to the store/product/order views
There is a Commerce patch which the patch here could be tested for commerce entities (stores, products, orders).
Comment #4
bojanz CreditAttribution: bojanz at Centarro commentedContinued in https://github.com/fago/entity/pull/29
Comment #5
bojanz CreditAttribution: bojanz at Centarro commentedThe PR has been merged.