Properly deprecate entity_load_multiple_by_properties()

Created on 20 January 2019, almost 6 years ago
Updated 12 September 2023, about 1 year ago

Problem/Motivation

entity_load_multiple_by_properties() is deprecated but is still used in core.

Proposed resolution

  • Add @trigger_error('entity_load_multiple_by_properties() is deprecated in Drupal 8.0.x, will be removed before Drupal 9.0.0. Use the entity storage's loadByProperties() method to load an entity by their property values.', E_USER_DEPRECATED); to the method
  • Replace all the usages in core

Note that there is no change record for this change originally and maybe it is in scope here to add one or maybe update https://www.drupal.org/node/2266845 (or find a better one).

Remaining tasks

User interface changes

None

API changes

None

Data model changes

None

Release notes snippet

N/a

📌 Task
Status

Fixed

Version

8.8 ⚰️

Component
Entity 

Last updated about 11 hours ago

Created by

🇵🇱Poland miroslav-lee Krakow

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024