diff --git a/classes/privacy/provider.php b/classes/privacy/provider.php new file mode 100644 index 0000000..a693cd8 --- /dev/null +++ b/classes/privacy/provider.php @@ -0,0 +1,40 @@ +. + +/** + * Privacy Subsystem implementation. + * + * @package gradingform_checklist + * @author Nathan Nguyen + * @copyright Catalyst IT + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ + +namespace gradingform_checklist\privacy; + +defined('MOODLE_INTERNAL') || die(); + +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 + */ + public static function get_reason() : string { + return 'privacy:metadata'; + } +} diff --git a/lang/en/gradingform_checklist.php b/lang/en/gradingform_checklist.php index 2ddeca2..0ad7353 100644 --- a/lang/en/gradingform_checklist.php +++ b/lang/en/gradingform_checklist.php @@ -90,3 +90,5 @@ $string['enablegroupremarks'] = 'Allow grader to add text remarks for each checklist group'; $string['showremarksstudent'] = 'Show all remarks to those being graded'; $string['unchecked'] = 'Unchecked'; +// Privacy. +$string['privacy:metadata'] = 'This plugin does not store personal data.'; \ No newline at end of file