D10 Entity queries must explicitly set whether the query should be access checked or not

Created on 27 October 2023, about 1 year ago
Updated 31 October 2023, about 1 year ago

Problem/Motivation

I applied a patch to make this module compatible with D10, however I got an error when checking the module with upgrade-status module for D10 upgrade

RequestSubscriberCheckLimits.php on line 129

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.

🐛 Bug report
Status

RTBC

Version

2.0

Component

Code

Created by

🇧🇷Brazil fkatsukawa São Paulo, 🇧🇷

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024