Issue #3293996 by narendra.rajwar27, tbisciglia: Use getStorage('taxonomy_term') instead of getStorage('taxonomy_vocabulary')
parent
089a4e8bd5
commit
411f995309
|
|
@ -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.
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in New Issue