You are here

public function MetadataBag::clearCsrfTokenSeed in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Session/MetadataBag.php \Drupal\Core\Session\MetadataBag::clearCsrfTokenSeed()

Clear the CSRF token seed.

File

core/lib/Drupal/Core/Session/MetadataBag.php, line 59
Contains \Drupal\Core\Session\MetadataBag.

Class

MetadataBag
Provides a container for application specific session metadata.

Namespace

Drupal\Core\Session

Code

public function clearCsrfTokenSeed() {
  unset($this->meta[static::CSRF_TOKEN_SEED]);
}