When using the module with Drupal 9, the taxonomy replace form has an error:
Call to undefined method Drupal\Core\Entity\ContentEntityType::getLowercaseLabel() in Drupal\taxonomy_replace\Form\TaxonomyReplaceForm->getQuestion() (line 141 of modules/contrib/taxonomy_replace/src/Form/TaxonomyReplaceForm.php).
@deprecated in drupal:8.8.0 and is removed from drupal:9.0.0.
* Instead, you should call getSingularLabel().
* See https://www.drupal.org/node/3075567
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | taxonomy_replace-3153302.patch | 852 bytes | malcomio |
Comments
Comment #2
malcomio commentedComment #3
malcomio commentedFixing this also flagged up a call to another deprecated function - \Drupal\taxonomy\TermInterface::getVocabularyId
Comment #5
malcomio commented