Issue #3293996 by narendra.rajwar27, tbisciglia: Use getStorage('taxonomy_term') instead of getStorage('taxonomy_vocabulary')

merge-requests/2505/head
catch 2022-07-12 13:27:06 +09:00
parent 089a4e8bd5
commit 411f995309
1 changed files with 1 additions and 1 deletions

View File

@ -213,7 +213,7 @@ function taxonomy_vocabulary_get_names() {
* An array of matching term objects.
*
* @deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use
* \Drupal::entityTypeManager()->getStorage('taxonomy_vocabulary')->loadByProperties(['name' => $name, 'vid' => $vid])
* \Drupal::entityTypeManager()->getStorage('taxonomy_term')->loadByProperties(['name' => $name, 'vid' => $vid])
* instead, to get a list of taxonomy term entities having the same name and
* keyed by their term ID.
*