. /** * Plugin administration pages are defined here. * * @package qbank_customfields * @copyright 2021 Catalyst IT Australia Pty Ltd * @author Matt Porritt * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ defined('MOODLE_INTERNAL') || die(); if ($hassiteconfig) { // Settings for question custom fields. $settings = null; $ADMIN->add('qbanksettings', new admin_externalpage('qbank_customfields', new lang_string('pluginname', 'qbank_customfields'), $CFG->wwwroot . '/question/bank/customfields/customfield.php', ['qbank/customfields:configurecustomfields'] ) ); }