You are here

public function TestSessionBag::clearFlag in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/system/tests/modules/session_test/src/Session/TestSessionBag.php \Drupal\session_test\Session\TestSessionBag::clearFlag()
  2. 10 core/modules/system/tests/modules/session_test/src/Session/TestSessionBag.php \Drupal\session_test\Session\TestSessionBag::clearFlag()

Clears the test flag.

File

core/modules/system/tests/modules/session_test/src/Session/TestSessionBag.php, line 61

Class

TestSessionBag
Test session container.

Namespace

Drupal\session_test\Session

Code

public function clearFlag() {
  unset($this->attributes['test_flag']);
}