user_view($account, $view_mode = 'full', $langcode = NULL)
Generate an array for rendering the given user.
When viewing a user profile, the $page array contains:
$page['content']['member_for']: Contains the default "Member for" profile data for a user. $page['content']['#user']: The user account of the profile being viewed.
To theme user profiles, copy core/modules/user/templates/user.html.twig to your theme directory, and edit it as instructed in that file's comments.
Parameters
\Drupal\use