You are here

public function ResourceDecoratorBase::switchUserBack in RESTful 7.2

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

Overrides ResourceInterface::switchUserBack

File

src/Plugin/resource/Decorators/ResourceDecoratorBase.php, line 77
Contains \Drupal\restful\Plugin\resource\Decorators\ResourceDecoratorBase.

Class

ResourceDecoratorBase
Class ResourceDecoratorBase.

Namespace

Drupal\restful\Plugin\resource\Decorators

Code

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