. namespace core_message; /** * Class hook_callbacks * * @package core_message * @copyright 2024 Andrew Lyons * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ class hook_callbacks { /** * Add messaging widgets after the main region content. * * @param \core\hook\output\after_standard_main_region_html_generation $hook */ public static function add_messaging_widget( \core\hook\output\after_standard_main_region_html_generation $hook, ): void { $hook->add_html(\core_message\helper::render_messaging_widget( isdrawer: true, )); } }