protected function AccountSwitcherTrait::switchBack in Tome 8
Switches the current user back.
2 calls to AccountSwitcherTrait::switchBack()
- Exporter::exportContent in modules/
tome_sync/ src/ Exporter.php - Exports a content entity to the target storage.
- Importer::importContent in modules/
tome_sync/ src/ Importer.php - Imports a content entity from the source storage.
File
- modules/
tome_sync/ src/ AccountSwitcherTrait.php, line 29
Class
- AccountSwitcherTrait
- Shared methods for handling account switching.
Namespace
Drupal\tome_syncCode
protected function switchBack() {
$this->accountSwitcher
->switchBack();
}