public function DefaultController::previewUser in View Modes Display 8
Returns user.
Parameters
\Drupal\user\UserInterface $user: The user.
Return value
string Preview user.
1 string reference to 'DefaultController::previewUser'
File
- src/
Controller/ DefaultController.php, line 53
Class
- DefaultController
- Class DefaultController.
Namespace
Drupal\view_modes_display\ControllerCode
public function previewUser(UserInterface $user) {
return $this
->preview($user);
}