Explicitly call accessCheck

Created on 8 May 2023, over 1 year ago
Updated 16 May 2023, over 1 year ago

Problem/Motivation

The Upgrade Status module reports the following on line 120 of src/Plugin/CKEditorPlugin/DrupalMediaLibrary.php:

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.

Steps to reproduce

Run the Upgrade Status module on version 1.0.1 of this module.

🐛 Bug report
Status

Needs work

Version

1.0

Component

Code

Created by

🇺🇸United States azinck

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

Comments & Activities

Production build 0.71.5 2024