Commit 411f9953 authored by catch's avatar catch
Browse files

Issue #3293996 by narendra.rajwar27, tbisciglia: Use...

Issue #3293996 by narendra.rajwar27, tbisciglia: Use getStorage('taxonomy_term') instead of getStorage('taxonomy_vocabulary')
parent 089a4e8b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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.
 *