Call to deprecated methods listUsage and listReferencedEntities

Created on 24 May 2023, over 1 year ago
Updated 3 April 2024, 9 months ago

Problem/Motivation

web/modules/contrib/entity_usage/tests/src/Kernel/EntityUsageTest.php 740 Call to deprecated method listUsage() of class Drupal\entity_usage\EntityUsage(link is external). Deprecated in branch 2.x. Use Drupal\entity_usage\EntityUsage(link is external)Interface::listSources() instead.

web/modules/contrib/entity_usage/tests/src/Kernel/EntityUsageTest.php 748 Call to deprecated method listReferencedEntities() of class Drupal\entity_usage\EntityUsage(link is external). Deprecated in branch 2.x. Use Drupal\entity_usage\EntityUsage(link is external)Interface::listTargets() instead.

Steps to reproduce

Scan the module with the upgrade_status module

Proposed resolution

Fix the deprecations.

🐛 Bug report
Status

RTBC

Version

2.0

Component

Code

Created by

🇵🇰Pakistan hmdnawaz

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

Comments & Activities

Production build 0.71.5 2024