MDL-71135 course: core_course_get_state external method

This commit is contained in:
Sara Arjona 2021-03-23 18:41:00 +01:00
parent f7b0960d18
commit 5f91cbb611
9 changed files with 685 additions and 1 deletions

View file

@ -508,6 +508,12 @@ $functions = array(
'type' => 'read',
'ajax' => true,
),
'core_course_get_state' => [
'classname' => 'core_course\external\get_state',
'description' => 'Get the current course state.',
'type' => 'read',
'ajax' => true,
],
'core_course_edit_module' => array(
'classname' => 'core_course_external',
'methodname' => 'edit_module',