mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-29483 The list of gradable areas is now obtained from the module
At the moment, only activity modules are supported.
This commit is contained in:
parent
967d346f72
commit
9e4eb676e4
2 changed files with 27 additions and 7 deletions
|
@ -3892,3 +3892,12 @@ function assignment_page_type_list($pagetype, $parentcontext, $currentcontext) {
|
|||
);
|
||||
return $module_pagetype;
|
||||
}
|
||||
|
||||
/**
|
||||
* Lists all gradable areas for the advanced grading methods gramework
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
function assignment_grading_areas_list() {
|
||||
return array('submission' => get_string('submissions', 'mod_assignment'));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue