Drupal 10 Compliance API Compliance

Created on 5 June 2023, about 1 year ago
Updated 23 June 2023, about 1 year ago

Running Code Audits for Drupal 10 compliance.
The Code validator flagged the following API calls.

Block Inactive Users, 8.x-2.1
Scanned on Mon, 06/05/2023 - 12:48

FILE: modules/contrib/block_inactive_users/block_inactive_users.module

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

Noting that the methods being called have a new class signature to be compliant with Drupal 10-11.

If it would help I could create a patch?

🐛 Bug report
Status

Fixed

Version

2.1

Component

Code

Created by

🇺🇸United States emptyvoid

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

Comments & Activities

Production build 0.69.0 2024