Fix deprecation documentation for node_revision_load()

Created on 1 March 2023, almost 2 years ago
Updated 30 April 2023, over 1 year ago

Problem/Motivation

node_revision_load() is deprecated "in drupal:10.1.0 and is removed from drupal:11.0.0. Use \Drupal\Core\Entity\EntityStorageInterface::loadRevision instead."

However, EntityStorageInterface::loadRevision() is itself deprecated in the same version, replaced with RevisionableStorageInterface::loadRevision().

Proposed resolution

Update node_revision_load() to refer directly to RevisionableStorageInterface::loadRevision().

Remaining tasks

  1. Get agreement from maintainer.
  2. Implement.
📌 Task
Status

Fixed

Version

10.1

Component
Node system 

Last updated 4 days ago

No maintainer
Created by

🇨🇦Canada Liam Morland Ontario, CA 🇨🇦

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

Comments & Activities

Production build 0.71.5 2024