Drupal 9 Dapatkan Objek Istilah Taksonomi Dengan Kosakata Nama Mesin VID
try {
$terms = \Drupal::entityTypeManager()->getStorage('taxonomy_term')->loadByProperties(['vid' => 'my_vocablary_machine_name']);
} catch (Exception $e) {
throw new HttpException(400,'Error upon selection of terms/session_tracks. ' . $e->getMessage());
}
cnmdrupal