You are here

protected function SynchronizeCsrfTokenSeedTrait::drupalLogout in Drupal 10

File

core/modules/ckeditor5/tests/src/Traits/SynchronizeCsrfTokenSeedTrait.php, line 51

Class

SynchronizeCsrfTokenSeedTrait
Synchronizes the child site's CSRF token seed back to the test runner.

Namespace

Drupal\Tests\ckeditor5\Traits

Code

protected function drupalLogout() {
  parent::drupalLogout();
  $this->container
    ->get('session_manager.metadata_bag')
    ->stampNew();
}