MDL-31306 question preview: disable 'Fill correct' for qtypes that can't
This commit is contained in:
@@ -262,9 +262,10 @@ abstract class question_definition {
|
||||
/**
|
||||
* What data would need to be submitted to get this question correct.
|
||||
* If there is more than one correct answer, this method should just
|
||||
* return one possibility.
|
||||
* return one possibility. If it is not possible to compute a correct
|
||||
* response, this method should return null.
|
||||
*
|
||||
* @return array parameter name => value.
|
||||
* @return array|null parameter name => value.
|
||||
*/
|
||||
public abstract function get_correct_response();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user