Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Problem/Motivation
The Drupal\taxonomy\Entity\Term::getVocabularyId method is deprecated since version 8.4.0 and will be removed before 9.0.0.
Proposed resolution
Use Drupal\taxonomy\Entity\Term::bundle() instead to get the vocabulary ID.
Remaining tasks
User interface changes
API changes
Data model changes
Comment | File | Size | Author |
---|---|---|---|
#2 | 2969972.patch | 2.65 KB | mihai11 |
Comments
Comment #2
mihai11 CreditAttribution: mihai11 commentedComment #3
amateescu CreditAttribution: amateescu for Pfizer, Inc. commentedNice and simple :)
Comment #4
alexpottCommitted and pushed 21d4930304 to 8.6.x and 7dac69b923 to 8.5.x. Thanks!
As this is test only backported 8.5.x
Comment #7
amateescu CreditAttribution: amateescu for Pfizer, Inc. commentedCleaning up tags.