Doesn't work with Drupal 10

Created on 27 November 2023, 12 months ago

Access checking was introduced for Drupal 10: Access checking must be explicitly specified on content entity queries
https://www.drupal.org/node/3201242 โ†’

Without it there is an error
Entity queries must explicitly set whether the query should be access checked or not. See Drupal\Core\Entity\Query\QueryInterface::accessCheck().

Can be fixed with
$fids = Drupal::entityQuery('file')->accessCheck(FALSE)->execute();

P.S. I like the simplicity of this module!

๐Ÿ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

๐Ÿ‡จ๐Ÿ‡ฟCzech Republic Bohus Ulrych Pilsen (Czechia)

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024