From 050ad6441d9ab96f699b9330af10cf977f27a6df Mon Sep 17 00:00:00 2001
From: quietone <quietone@2572884.no-reply.drupal.org>
Date: Wed, 18 Dec 2024 17:13:12 +1300
Subject: [PATCH] Issue #3484587 by daniel.j, joachim, catch: Document that
 invalid IDs are not present in the return array or
 EntityStorageInterface::loadMultiple

(cherry picked from commit 89fde027d05368477149509ce8b55d5e4fec0c20)
---
 core/lib/Drupal/Core/Entity/EntityStorageInterface.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/core/lib/Drupal/Core/Entity/EntityStorageInterface.php b/core/lib/Drupal/Core/Entity/EntityStorageInterface.php
index ee724c50419d..04e4668c999e 100644
--- a/core/lib/Drupal/Core/Entity/EntityStorageInterface.php
+++ b/core/lib/Drupal/Core/Entity/EntityStorageInterface.php
@@ -41,8 +41,8 @@ public function resetCache(?array $ids = NULL);
    *   An array of entity IDs, or NULL to load all entities.
    *
    * @return \Drupal\Core\Entity\EntityInterface[]
-   *   An array of entity objects indexed by their IDs. Returns an empty array
-   *   if no matching entities are found.
+   *   An array of successfully loaded objects indexed by their IDs.
+   *   Returns an empty array if no matching entities are found.
    */
   public function loadMultiple(?array $ids = NULL);
 
-- 
GitLab