NCIOCPL / cgov-digital-platform

The Cancer.gov Digital Communications Platform
GNU General Public License v2.0
11 stars 33 forks source link

Fix phpstan Drupal 10 deprecation in cgov_core.module #4073

Closed santwuma closed 1 year ago

santwuma commented 1 year ago

Relying on entity queries to check access by default is deprecated in drupal:9.2.0 and an error will be thrown from drupal:10.0.0. Call \Drupal\Core\Entity\Query\QueryInterface::accessCheck() with TRUE or FALSE to specify whether access should be checked.

ODE: https://ncigovcdode642.prod.acquia-sites.com/

SupriyaSaxena0605 commented 1 year ago

@blairlearn @navsunka @santwuma Visual regression and Functional regression passed on ODE 642.