Properly deprecate ForumManagerInterface::getParents().

Created on 8 November 2014, about 10 years ago
Updated 13 September 2023, about 1 year ago

Problem/Motivation

ForumManagerInterface::getParents() was deprecated in #2353013: Remove taxonomy_term_load_parents_all from taxonomy/taxonomy.module , but it's usage was not removed.

Proposed resolution

  • Remove usages of ForumManager::getParents() from core.
  • Trigger an E_USER_DEPRECATED error from ForumManager::getParents()
  • add a legacy test to ensure the error is triggered, and the the deprecated method
  • Create and publish a CR identifying the already deprecated method.
  • Update the @deprecation tag wording to current standards.

Remaining tasks

Review it
Commit it

User interface changes

none

API changes

none

📌 Task
Status

Fixed

Version

8.8 ⚰️

Component

forum.module

Created by

🇧🇪Belgium bertramakers

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