Fix access check on query

Created on 23 June 2023, almost 2 years ago
Updated 24 June 2023, almost 2 years ago

Problem/Motivation

Upgrade status reports: 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.

On matomo/modules/matomo_tagmanager/src/Form/ContainerForm.php

Proposed resolution

Add explicit access check.

πŸ“Œ Task
Status

Fixed

Version

1.21

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States shelane

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

Comments & Activities

Production build 0.71.5 2024