You are here

public function TestSessionBag::initialize in Drupal 10

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

File

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

Class

TestSessionBag
Test session container.

Namespace

Drupal\session_test\Session

Code

public function initialize(array &$attributes) {
  $this->attributes =& $attributes;
}