drupal 8 get node from target_id code example Example: get reference field entities // Reference field entities. $node->get($field)->referencedEntities();