Same name and namespace in other branches
- 8.9.x core/tests/Drupal/Tests/SessionTestTrait.php \Drupal\Tests\SessionTestTrait::getSessionName()
- 9 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 38
Class
- SessionTestTrait
- Provides methods to generate and get session name in tests.
Namespace
Drupal\TestsCode
protected function getSessionName() {
return $this->sessionName;
}