Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
By mikelutz on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
8.0.x
Introduced in version:
8.0.0-beta3
Description:
ForumManagerInterface::getParents() is deprecated. You should call loadAllParents() on Taxonomy Term Storage directly.
Before:
\Drupal::service('forum_manager')->getParents($tid)
Now:
\Drupal::entityTypeManager()->getStorage('taxonomy_term')->loadAllParents($tid);
Impacts:
Site builders, administrators, editors
Module developers