. /** * Defines message providers (types of message sent) for the hvp module. * * @package mod_hvp * @copyright 2020 Joubel AS * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ defined('MOODLE_INTERNAL') || die(); $messageproviders = array( // Notify teacher that a student has submitted an attempt. 'submission' => array( 'capability' => 'mod/hvp:emailnotifysubmission' ), // Confirm a student's quiz attempt. 'confirmation' => array( 'capability' => 'mod/hvp:emailconfirmsubmission', 'defaults' => array( 'airnotifier' => MESSAGE_PERMITTED + MESSAGE_DEFAULT_LOGGEDIN + MESSAGE_DEFAULT_LOGGEDOFF, ), ), );