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.
There are valid reasons for altering these queries, but it would take a fancy bit of magic to actually target them with hook_query_alter() in their presently untagged state.
Comments
Comment #1
rszrama CreditAttribution: rszrama commentedEasy enough. I used the function names as tags, because in either case there may be additional implementations of the *_can_delete() hooks in other modules that should use their own tags.
Commit: http://drupalcode.org/project/commerce.git/commitdiff/0548046