From c6c37c2855d62e93ff3a5943904ba0d43165c5e9 Mon Sep 17 00:00:00 2001 From: xjm <xjm@65776.no-reply.drupal.org> Date: Mon, 2 Jan 2023 05:31:56 -0600 Subject: [PATCH] Issue #3326787 by Akhil Babu, joachim: loadByProperties() shoud specify it does no access checking --- core/lib/Drupal/Core/Entity/EntityStorageInterface.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/lib/Drupal/Core/Entity/EntityStorageInterface.php b/core/lib/Drupal/Core/Entity/EntityStorageInterface.php index f4c1e8b2f341..4397cf458110 100644 --- a/core/lib/Drupal/Core/Entity/EntityStorageInterface.php +++ b/core/lib/Drupal/Core/Entity/EntityStorageInterface.php @@ -107,7 +107,7 @@ public function loadRevision($revision_id); public function deleteRevision($revision_id); /** - * Load entities by their property values. + * Load entities by their property values without any access checks. * * @param array $values * An associative array where the keys are the property names and the -- GitLab