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.
Now that we depend on Drupal 8.3.x, we can use EntityPublishedInterface and EntityPublishedTrait.
Comments
Comment #2
vasikeAnd there is a new PR for this.
Comment #4
bojanz CreditAttribution: bojanz at Centarro commentedAdding Berdir, who updated the code in https://github.com/drupalcommerce/commerce/pull/763
Comment #6
bojanz CreditAttribution: bojanz at Centarro commentedRerolled, fixed test fail caused by a weird views bug (the ordering of products changed when no filter was present. Added an explicit product_id filter to account for that).
Comment #7
Berdirfilter => sort, I guess? :)
Comment #8
BerdirWtf
Comment #9
bojanz CreditAttribution: bojanz at Centarro commentedYeah, sort :)