. /** * Tiny Premium external functions and service definitions. * * @package tiny_premium * @copyright 2023 David Woloszyn * @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ defined('MOODLE_INTERNAL') || die(); $functions = [ 'tiny_premium_get_api_key' => [ 'classname' => 'tiny_premium\external\get_api_key', 'methodname' => 'execute', 'description' => 'Get the Tiny Premium API key from Moodle', 'type' => 'read', 'capabilities' => '', 'ajax' => true, ], ];