Get title of referenced taxonomy term on node in Drupal 9 and Drupal 10Include the Node classuse Drupal\node\NodeInterface;$node = Drupal::routeMatch()->getParameter('node');$title = $node->field_machine_name->entity->title->value; Log in to post comments Category Node