protected function SessionTestTrait::getSessionName in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/simpletest/src/SessionTestTrait.php \Drupal\simpletest\SessionTestTrait::getSessionName()
Returns the session name in use on the child site.
Return value
string The name of the session cookie.
4 calls to SessionTestTrait::getSessionName()
- BrowserTestBase::drupalLogin in core/
modules/ simpletest/ src/ BrowserTestBase.php - Logs in a user using the Mink controlled browser.
- SessionHttpsTest::setUp in core/
modules/ system/ src/ Tests/ Session/ SessionHttpsTest.php - Sets up a Drupal site for running functional and integration tests.
- SessionTest::testEmptySessionID in core/
modules/ system/ src/ Tests/ Session/ SessionTest.php - Test that empty session IDs are not allowed.
- WebTestBase::curlHeaderCallback in core/
modules/ simpletest/ src/ WebTestBase.php - Reads headers and registers errors received from the tested site.
File
- core/
modules/ simpletest/ src/ SessionTestTrait.php, line 41 - Contains \Drupal\simpletest\SessionTestTrait.
Class
- SessionTestTrait
- Provides methods to generate and get session name in tests.
Namespace
Drupal\simpletestCode
protected function getSessionName() {
return $this->sessionName;
}