As the core entity query QueryFactory is deprecated now, Please replace it with \Drupal\Core\Entity\EntityStorageInterface::getQuery()

Comments

gsridevi created an issue. See original summary.

gsridevi’s picture

Status: Active » Needs review
StatusFileSize
new1.29 KB

entity.query service deprecated in favor of EntityStorageInterface::getQuery()

gsridevi’s picture

satyanarayan reddy’s picture

Assigned: Unassigned » satyanarayan reddy
StatusFileSize
new1.29 KB

As the core entity query QueryFactory is deprecated now, Please replace it with \Drupal\Core\Entity\EntityStorageInterface::getQuery()

satyanarayan reddy’s picture

StatusFileSize
new1.29 KB

Removed deprecated method/Class QueryFactory

satyanarayan reddy’s picture

gsridevi’s picture

Status: Needs review » Reviewed & tested by the community

Thanks for the patch!

pifagor’s picture

Status: Reviewed & tested by the community » Needs work

This needs to be fixed throughout the module.
Similar issues - https://www.drupal.org/project/entity_browser/issues/2893469

shubham.prakash’s picture

Assigned: satyanarayan reddy » Unassigned
Status: Needs work » Needs review
StatusFileSize
new1.79 KB
avpaderno’s picture

Title: Removed deprecated method/Class QueryFactory calls from code base » Remove deprecated method/Class QueryFactory calls from code base
andralex’s picture

StatusFileSize
new2.05 KB
new571 bytes

Here is an updated patch where fixed DI for deprecated service.

alex_optim’s picture

Status: Needs review » Reviewed & tested by the community

Good for me.

pifagor’s picture

  • pifagor committed 696d13c on 8.x-3.x authored by andralex
    Issue #3032315 by Satyanarayan Reddy, andralex, gsridevi, shubham....
pifagor’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.