moodle-local_course_complet.../db/events.php
Kumi 4a7f631532
feat: add course completion check functionality
Introduced a new observer to handle 'course_module_completion_updated' events, updating course completion status automatically. This streamlines the user experience by notifying users of their course completion status changes. Added observer registration to events configuration and updated the plugin version details.
2024-10-21 12:47:50 +02:00

9 lines
242 B
PHP

<?php
defined('MOODLE_INTERNAL') || die();
$observers = [
[
'eventname' => '\core\event\course_module_completion_updated',
'callback' => 'local_course_completion_checker_observer::check_course_completion',
],
];