Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
The public function getVocabularyId();
is deprecated.
See: https://api.drupal.org/api/drupal/core%21modules%21taxonomy%21src%21Enti...
File: /src/TaxonomyMenuHelper.php
Proposed resolution
Replace deprecated usage of getVocabularyId();
with a bundle();
Remaining tasks
Create patchNeeds Review- Commit
User interface changes
None.
API changes
None.
Data model changes
None.
Comment | File | Size | Author |
---|---|---|---|
#2 | taxonomy_menu-fixed_getVocabularyId-3030664-2.patch | 1.91 KB | i-trokhanenko |
|
Comments
Comment #2
i-trokhanenkoPlease review.
Comment #3
Roman Dyn CreditAttribution: Roman Dyn as a volunteer and at RockSolid PSF commentedSuccessfully applied patch with composer. All works fine. Please commit. Thanks.
Comment #4
andrey.troeglazov CreditAttribution: andrey.troeglazov at DrupalJedi commentedComment #6
andrey.troeglazov CreditAttribution: andrey.troeglazov at DrupalJedi commentedComment #8
DamienMcKennaComment #9
DamienMcKennaComment #10
DamienMcKenna