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

CommentFileSizeAuthor
#3 taxonomy_replace-3153302.patch852 bytesmalcomio

Comments

malcomio created an issue. See original summary.

malcomio’s picture

Issue summary: View changes
malcomio’s picture

Status: Active » Needs review
StatusFileSize
new852 bytes

Fixing this also flagged up a call to another deprecated function - \Drupal\taxonomy\TermInterface::getVocabularyId

  • malcomio committed 2100e3c on 8.x-1.x
    Issue #3153302 by malcomio: Call to undefined method Drupal\Core\Entity\...
malcomio’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.