You are here

public static function UserSessionStateInterface::isSwitched in RESTful 7.2

Check if the user has already been switched.

We need this information to perform additional actions the first time a user is switched.

Return value

bool TRUE if the user has been switched previously. FALSE otherwise.

1 method overrides UserSessionStateInterface::isSwitched()
UserSessionState::isSwitched in src/Authentication/UserSessionState.php
Check if the user has already been switched.

File

src/Authentication/UserSessionStateInterface.php, line 26
Contains \Drupal\restful\Authentication\UserSessionStateInterface.

Class

UserSessionStateInterface
Class UserSessionStateInterface.

Namespace

Drupal\restful\Authentication

Code

public static function isSwitched();