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.
Class Drupal\Core\Entity\Query\QueryFactory
does not implement
Drupal\Core\Entity\Query\QueryFactoryInterface
interface.
#2019651: Add a QueryFactoryInterface for QueryFactory classes seems related.
Comments
Comment #2
EdgarPE CreditAttribution: EdgarPE commentedThe method implementations are incompatible, so I'm not sure how to fix this.
Comment #3
markdorisonBased on the discussion in #2019651: Add a QueryFactoryInterface for QueryFactory classes, it seems like this is intentional: