Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Configuration settings can be found at admin/config/quiz/*
paths. Need to ensure whether these are working as expected.
For instance - Delete results when a user is deleted, Display name, etc.
In connection to this - it seems _quiz_get_quiz_name() returns empty value (unless configuration form is saved at least once). As result configuration menus Quiz configuration, Quiz form configuration and Quiz results are read as configuration, form configuration and results respectively.
function _quiz_get_quiz_name() {
// @todo: remove all the quiz_name stuff? Isn't there better ways to do this?
return \Drupal::config('quiz.settings')->get('quiz_name');
}
Perhaps no default value is set.
Comments
Comment #1
djdevinThis issue is being closed because it was filed against a version that is no longer supported. If the issue still persists in the latest version of Quiz, please open a new issue.