I load a user object, and I would like to be able to show the user's picture somewhere. I tried the following code.
$row_user = \Drupal\user\Entity\User::load($uid)->user_picture->first()->view('large');
What I get is this (using
This user has a picture and it is shown correctly in the user page.
How do I exactly show the picture associated with a user account?