mirror of
https://github.com/moodle/moodle.git
synced 2025-08-11 03:46:42 +02:00
MDL-31306 question preview: disable 'Fill correct' for qtypes that can't
This commit is contained in:
parent
1bc47427f0
commit
da22c0127b
4 changed files with 13 additions and 5 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue