Skip to content
Snippets Groups Projects
Select Git revision
  • 03e87633fc955221e26b801afda80a868ad1b6f6
  • main default protected
2 results

hooks.php

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    hooks.php 1.12 KiB
    <?php
    // This file is part of Moodle - http://moodle.org/
    //
    // Moodle is free software: you can redistribute it and/or modify
    // it under the terms of the GNU General Public License as published by
    // the Free Software Foundation, either version 3 of the License, or
    // (at your option) any later version.
    //
    // Moodle is distributed in the hope that it will be useful,
    // but WITHOUT ANY WARRANTY; without even the implied warranty of
    // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    // GNU General Public License for more details.
    //
    // You should have received a copy of the GNU General Public License
    // along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
    
    /**
     * Hook callbacks for Polaris Dashboard
     *
     * @package    local_polaris_dashboard
     * @copyright  2024 Sebastian Schilling <schilling@cls.rwth-aachen.de>
     * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
     */
    
    
    $callbacks = [
        [
            'hook' => \core\hook\output\before_html_attributes::class,
            'callback' => [\local_polaris_dashboard\hook_callbacks::class, 'local_polaris_dashboard_before_html_attributes'],
        ],
    ];