$children = \Drupal::entityTypeManager()->getStorage('taxonomy_term')->loadChildren($entity->id());

taxonomy_get_children drupal 8

Similar Code Examples