Active
Project:
Rector
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
22 Sep 2021 at 16:00 UTC
Updated:
7 Feb 2024 at 19:45 UTC
Jump to comment: Most recent
Core 9.x
0.11.3
Call to undefined method Drupal\taxonomy\Entity\Term::getVocabularyId() in Drupal\unique_entity_title\Plugin\Validation\Constraint\UniqueEntityTitleValidator->validate()
When using Drupal 9, getVocabularyId() has been removed from Drupal 9.
Replace getVocabularyId() with bundle().
Comments
Comment #2
cesarmiquel commentedIs somebody working on this? I hit this issue so I'd like the rule to be added. I volunteer to try to do it if someone can point me to a similar rule I can use as reference.