Drupal\\node\\Entity\\Node Object ( [in_preview] => [values:protected] => Array ( [vid] => Array ( [x-default] =
entity property can be accessed directly from any reference type field.
entity
$node = 'myNode'; $termEntity = $node->get('field_taxonomy_reference')->entity; if ($termEntity instanceof TermInterface) { $termLabel = $termEntity->label(); }