public static function type_config_form()

in lib.php [1245:1258]


    public static function type_config_form($mform, $classname = 'repository') {
        global $CFG;

        if (utils::is_configured() !== true) {
            $mform->addElement('static', null, '', get_string('notconfigured', 'repository_office365', $CFG->wwwroot));
        }
        parent::type_config_form($mform);
        $mform->addElement('checkbox', 'coursegroup', get_string('coursegroup', 'repository_office365'));
        $mform->setType('coursegroup', PARAM_INT);
        $mform->addElement('checkbox', 'onedrivegroup', get_string('onedrivegroup', 'repository_office365'));
        $mform->setType('onedrivegroup', PARAM_INT);
        $mform->addElement('checkbox', 'trendinggroup', get_string('trendinggroup', 'repository_office365'));
        $mform->setType('trendinggroup', PARAM_INT);
    }