Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)

Variables

 $observers
 Forum event handler definition.
 

Detailed Description

Variable Documentation

◆ $observers

$observers
Initial value:
= array(
array(
'eventname' => '\core\event\user_enrolment_deleted',
'callback' => 'mod_forum_observer::user_enrolment_deleted',
),
array(
'eventname' => '\core\event\role_assigned',
'callback' => 'mod_forum_observer::role_assigned'
),
array(
'eventname' => '\core\event\course_module_created',
'callback' => 'mod_forum_observer::course_module_created',
),
array(
'eventname' => '\core\event\course_created',
'callback' => 'mod_forum_observer::course_created',
),
array(
'eventname' => '\core\event\course_updated',
'callback' => 'mod_forum_observer::course_updated',
),
)

Forum event handler definition.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later