Getting entityreference field from user I created additional field for user profile, which is a reference to node (content type - Company). 

How can i get values of this field for a current user?



 $user = \Drupal\user\Entity\User::load(\Drupal::currentUser()-&gt;id());

 $field_company= $user-&gt;get('field_company')-&gt;value; // result is empty




I know that second string is wrong, but i don't know what should I write.
Please, help.

Thanks a lot.
Seeing this change record, this should work:

$items = $user-&gt;getTranslation($langcode)-&gt;get('field_company');