. /** * Settings for the Tiny Premium plugin. * * @package tiny_premium * @category admin * @copyright 2023 David Woloszyn * @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ defined('MOODLE_INTERNAL') || die(); if ($hassiteconfig) { // phpcs:ignore Generic.CodeAnalysis.EmptyStatement.DetectedIf if ($ADMIN->fulltree) { $setting = new admin_setting_configpasswordunmask( 'tiny_premium/apikey', get_string('apikey', 'tiny_premium'), get_string('apikey_desc', 'tiny_premium'), '', ); $settings->add($setting); } }