. /** * Links and settings * * This file contains links and settings used by tool_componentlibrary * * @package tool_componentlibrary * @copyright 2021 Bas Brands * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ defined('MOODLE_INTERNAL') || die; // Component library page. $docsdir = '/tool/componentlibrary/docs/'; if (file_exists($CFG->dirroot . '/'. $CFG->admin . $docsdir)) { $temp = new admin_externalpage( 'toolcomponentlibrary', get_string('pluginname', 'tool_componentlibrary'), new moodle_url('/admin/tool/componentlibrary/') ); $ADMIN->add('development', $temp); }