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 commentedComment #3
amateescu 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 commentedCleaning up tags.