. /** * Test null provider using a fake plugin name. * * @package core_privacy * @copyright 2018 Jake Dallimore * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ namespace mod_testcomponent2\privacy; /** * Mock null_provider for unit tests. * @copyright 2018 Jake Dallimore * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ class provider implements \core_privacy\local\metadata\null_provider { /** * Get the language string identifier with the component's language * file to explain why this plugin stores no data. * * @return string the reason for being a null provider. */ public static function get_reason(): string { return 'testcomponent2 null provider reason'; } }