. /** * Settings of the plugin. * * @package local_webhooks * @copyright 2017 "Valentin Popov" * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ 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') ) ); }