You are here

protected function QuizSession::getSessionKey in Quiz 6.x

Gets the session key for the quiz session type.

Return value

string The session key.

2 calls to QuizSession::getSessionKey()
QuizSession::getCurrentQuizzes in src/Services/QuizSession.php
Gets the current quizzes the user is taking
QuizSession::setCurrentQuizzes in src/Services/QuizSession.php
Gets the current quizzes the user is taking

File

src/Services/QuizSession.php, line 156

Class

QuizSession
Default implementation of the quiz session.

Namespace

Drupal\quiz\Services

Code

protected function getSessionKey() {
  return 'quiz';
}