You are here

protected function LinkStatusHandlerBase::switchSessionBack in Link checker 8

Helper function to switch session back.

1 call to LinkStatusHandlerBase::switchSessionBack()
LinkStatusHandlerBase::handle in src/Plugin/LinkStatusHandlerBase.php
Handles a status code of link.

File

src/Plugin/LinkStatusHandlerBase.php, line 184

Class

LinkStatusHandlerBase
Base class for Link status handler plugins.

Namespace

Drupal\linkchecker\Plugin

Code

protected function switchSessionBack() {
  $this->accountSwitcher
    ->switchBack();
}