public function QuizSessionInterface::removeQuiz in Quiz 6.x
Remove quiz from session
Parameters
Quiz $quiz: The quiz.
1 method overrides QuizSessionInterface::removeQuiz()
- QuizSession::removeQuiz in src/
Services/ QuizSession.php - Remove quiz from session
File
- src/
Services/ QuizSessionInterface.php, line 43
Class
- QuizSessionInterface
- Stores quiz state in the anonymous user's session.
Namespace
Drupal\quiz\ServicesCode
public function removeQuiz(Quiz $quiz);