= [
[
'eventname' => core_customfield\event\field_created::class,
'callback' => 'customfield_number\observer::field_created',
],
[
'eventname' => core_customfield\event\field_updated::class,
'callback' => 'customfield_number\observer::field_updated',
],
[
'eventname' => core\event\course_module_created::class,
'callback' => 'customfield_number\observer::course_module_created',
],
[
'eventname' => core\event\course_module_deleted::class,
'callback' => 'customfield_number\observer::course_module_deleted',
],
[
'eventname' => core\event\course_module_updated::class,
'callback' => 'customfield_number\observer::course_module_updated',
],
]