apigee / apigee-api-catalog-drupal

Manage your API catalog within Drupal's content management approach
https://www.drupal.org/project/apigee_api_catalog
GNU General Public License v2.0
17 stars 16 forks source link

Relying on entity queries to check access by default is deprecated #212

Closed phdhiren closed 1 year ago

phdhiren commented 1 year ago

Is your feature request related to a problem? Please describe.

Relying on entity queries to check access by default is deprecated in drupal:9.2.0

FILE: web/modules/contrib/apigee_api_catalog/src/UpdateService.php

STATUS         LINE                           MESSAGE                           
--------------------------------------------------------------------------------
Check manually 253  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.  
--------------------------------------------------------------------------------

Additional context

https://www.drupal.org/node/3201242