mirror of
https://github.com/moodle/moodle.git
synced 2025-08-07 01:46:45 +02:00
MDL-59079 core_analytics: Add social level 2 to various activities
Part of MDL-57791 epic.
This commit is contained in:
parent
a6805cc8e0
commit
3c305df1de
17 changed files with 131 additions and 128 deletions
|
@ -42,4 +42,13 @@ abstract class activity_base extends \core_analytics\local\indicator\community_o
|
|||
protected function get_activity_type() {
|
||||
return 'lesson';
|
||||
}
|
||||
|
||||
protected function feedback_viewed_events() {
|
||||
return array('\mod_lesson\event\lesson_ended');
|
||||
}
|
||||
|
||||
protected function feedback_check_grades() {
|
||||
// We don't need to check grades as we get the feedback while completing the activity.
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue