Problem/Motivation

I realized later that entity.query service has been deprecated. See #2389335: Deprecate entity.query service and replace with using the entity storage's getQuery() method.

Proposed resolution

Remove usage of entity.query service from dc_ajax_add_cart.refresh_page_elements_helper service. Refer https://www.drupal.org/node/2849874.

Remaining tasks

N/A

User interface changes

N/A

API changes

N/A

Data model changes

N/A

Comments

subhojit777 created an issue. See original summary.

subhojit777’s picture

Issue summary: View changes

  • subhojit777 committed 26f3091 on 8.x-1.x
    Issue #2939352 by subhojit777: Remove usage of deprecated entity.query...
subhojit777’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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

stevetweeddale’s picture

StatusFileSize
new554 bytes

It looks like the create method was overlooked here, as it still asks for the entity.query service. Follow up patch attached. I can raise a new issue if that's preferred!