. /** * Settings of the plugin. * * @copyright 2018 'Valentin Popov' * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @package local_webhooks */ defined('MOODLE_INTERNAL') || die(); /* @var \admin_root $ADMIN */ if ($hassiteconfig) { $ADMIN->add( 'server', new admin_externalpage( 'local_webhooks', new lang_string('pluginname', 'local_webhooks'), new moodle_url('/local/webhooks/index.php') ) ); }