function SynchronizeCsrfTokenSeedTrait::drupalLogout
Same name and namespace in other branches
- 11.x core/modules/ckeditor5/tests/src/Traits/SynchronizeCsrfTokenSeedTrait.php \Drupal\Tests\ckeditor5\Traits\SynchronizeCsrfTokenSeedTrait::drupalLogout()
- 10 core/modules/ckeditor5/tests/src/Traits/SynchronizeCsrfTokenSeedTrait.php \Drupal\Tests\ckeditor5\Traits\SynchronizeCsrfTokenSeedTrait::drupalLogout()
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\TraitsCode
protected function drupalLogout() {
parent::drupalLogout();
$this->container
->get('session_manager.metadata_bag')
->stampNew();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.