Question : taxonomy_get_children drupal 8
Answered by : liam-roels
$children = \Drupal::entityTypeManager()->getStorage('taxonomy_term')->loadChildren($entity->id());
Source : https://api.drupal.org/api/drupal/modules!taxonomy!taxonomy.module/function/taxonomy_get_children/7.x | Last Update : Tue, 19 Jan 21