trait SessionTestTrait
Same name in this branch
- 8.9.x core/tests/Drupal/Tests/SessionTestTrait.php \Drupal\Tests\SessionTestTrait
Same name in other branches
- 9 core/tests/Drupal/Tests/SessionTestTrait.php \Drupal\Tests\SessionTestTrait
- 10 core/tests/Drupal/Tests/SessionTestTrait.php \Drupal\Tests\SessionTestTrait
- 11.x core/tests/Drupal/Tests/SessionTestTrait.php \Drupal\Tests\SessionTestTrait
Provides methods to generate and get session name in tests.
Hierarchy
- trait \Drupal\simpletest\SessionTestTrait uses \Drupal\Tests\SessionTestTrait
Deprecated
in drupal:8.1.1 and is removed from drupal:9.0.0. Use \Drupal\Tests\SessionTestTrait instead.
See also
\Drupal\Tests
File
-
core/
modules/ simpletest/ src/ SessionTestTrait.php, line 17
Namespace
Drupal\simpletestView source
trait SessionTestTrait {
use BaseSessionTestTrait;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.