Creates the configuration context for user accounts.
\Drupal\user\UserInterface $account: The account to add to the config context.
\Drupal\user\UserConfigContext The user config context object.
public function setAccount(UserInterface $account) {
$this
->set(self::USER_KEY, $account);
// Re-initialize since the user change changes the context fundamentally.
$this
->init();
return $this;
}