Skip to content
Snippets Groups Projects

Issue #3484587: Clarify loadMultiple return behavior for invalid IDs

All threads resolved!
All threads resolved!
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
@@ -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);
Loading