[Drupal 11] Call to deprecated method loadRevision()

Issue information

From user: jcnventura

Related to !18 (merged)

Contribution record

Fork management

Problem/Motivation

Call to deprecated method loadRevision() of class Drupal​\​Core​\​Entity​\​EntityStorageInterface
. Deprecated in drupal:10.1.0 and is removed from drupal:11.0.0. Use Drupal​\​Core​\​Entity​\​RevisionableStorageInterface::loadRevision instead.

This is found in menu_link_attributes.module line 187: https://git.drupalcode.org/project/menu_link_attributes/-/blob/8.x-1.x/menu_link_attributes.module?ref_type=heads#L187

We need to replace this to be able to use this module in Drupal 11. Lucky for us, this RevisionableStorageInterface already exists since Drupal 8, so we can continue to use the 8.x-1.x branch to provide support for Drupal 8-11.

Edited by drupalbot
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information