. /** * Settings for the myoverview block * * @package block_myoverview * @copyright 2019 Tom Dickman * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ defined('MOODLE_INTERNAL') || die; if ($ADMIN->fulltree) { require_once($CFG->dirroot . '/blocks/myoverview/lib.php'); // Display Course Categories on Dashboard course items (cards, lists, summary items). $settings->add(new admin_setting_configcheckbox( 'block_myoverview/displaycategories', get_string('displaycategories', 'block_myoverview'), get_string('displaycategories_help', 'block_myoverview'), 1)); }