\Drupal\Core\Entity\EntityStorageInterface::loadMultiple() and ::resetCache() incorrectly updated to

Created on 11 March 2025, about 2 months ago

Problem/Motivation

πŸ“Œ Fix MissingParamType in core/lib/Drupal/Core Needs review said that entity the arrays passed in to resetCache and loadMultiple are @param int[]|null $ids but this is wrong. We have the ability to have string IDs and load is typed like:

   * @param mixed $id
   *   The ID of the entity to load.

Proposed resolution

Be more liberal.

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

πŸ› Bug report
Status

Active

Version

11.0 πŸ”₯

Component

entity system

Created by

πŸ‡¬πŸ‡§United Kingdom alexpott πŸ‡ͺπŸ‡ΊπŸŒ

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