function SessionTestTrait::getSessionName
Same name and namespace in other branches
- 11.x core/tests/Drupal/Tests/SessionTestTrait.php \Drupal\Tests\SessionTestTrait::getSessionName()
- 10 core/tests/Drupal/Tests/SessionTestTrait.php \Drupal\Tests\SessionTestTrait::getSessionName()
- 8.9.x core/tests/Drupal/Tests/SessionTestTrait.php \Drupal\Tests\SessionTestTrait::getSessionName()
Returns the session name in use on the child site.
Return value
string The name of the session cookie.
File
-
core/
tests/ Drupal/ Tests/ SessionTestTrait.php, line 36
Class
- SessionTestTrait
- Provides methods to generate and get session name in tests.
Namespace
Drupal\TestsCode
protected function getSessionName() {
return $this->sessionName;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.