You are here

public function Resource::switchUserBack in RESTful 7.2

Switches the user back from the original user for the session.

Overrides ResourceInterface::switchUserBack

1 method overrides Resource::switchUserBack()
LoginCookie__1_0::switchUserBack in src/Plugin/resource/LoginCookie__1_0.php
Switches the user back from the original user for the session.

File

src/Plugin/resource/Resource.php, line 127
Contains \Drupal\restful\Plugin\resource\Resource.

Class

Resource

Namespace

Drupal\restful\Plugin\resource

Code

public function switchUserBack() {
  return $this->authenticationManager
    ->switchUserBack();
}