diff --git a/mod/folder/classes/privacy/provider.php b/mod/folder/classes/privacy/provider.php new file mode 100644 index 00000000000..7ed91f33499 --- /dev/null +++ b/mod/folder/classes/privacy/provider.php @@ -0,0 +1,44 @@ +. + +/** + * Privacy Subsystem implementation for mod_folder. + * + * @package mod_folder + * @copyright 2018 Zig Tan + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ +namespace mod_folder\privacy; + +defined('MOODLE_INTERNAL') || die(); + +/** + * The mod_folder module does not store any data. + * + * @copyright 2018 Zig Tan + * @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 + */ + public static function get_reason() : string { + return 'privacy:metadata'; + } +} diff --git a/mod/folder/lang/en/folder.php b/mod/folder/lang/en/folder.php index 773a3c7f67a..fd8139cb473 100644 --- a/mod/folder/lang/en/folder.php +++ b/mod/folder/lang/en/folder.php @@ -49,6 +49,7 @@ $string['modulenameplural'] = 'Folders'; $string['newfoldercontent'] = 'New folder content'; $string['page-mod-folder-x'] = 'Any folder module page'; $string['page-mod-folder-view'] = 'Folder module main page'; +$string['privacy:metadata'] = 'The mod_folder plugin does not store any personal data.'; $string['pluginadministration'] = 'Folder administration'; $string['pluginname'] = 'Folder'; $string['display'] = 'Display folder contents'; diff --git a/mod/label/classes/privacy/provider.php b/mod/label/classes/privacy/provider.php new file mode 100644 index 00000000000..5d6ac61ecb1 --- /dev/null +++ b/mod/label/classes/privacy/provider.php @@ -0,0 +1,44 @@ +. + +/** + * Privacy Subsystem implementation for mod_label. + * + * @package mod_label + * @copyright 2018 Zig Tan + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ +namespace mod_label\privacy; + +defined('MOODLE_INTERNAL') || die(); + +/** + * The mod_label module does not store any data. + * + * @copyright 2018 Zig Tan + * @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 + */ + public static function get_reason() : string { + return 'privacy:metadata'; + } +} diff --git a/mod/label/lang/en/label.php b/mod/label/lang/en/label.php index 6f3dd9bb972..62891ff4592 100644 --- a/mod/label/lang/en/label.php +++ b/mod/label/lang/en/label.php @@ -48,6 +48,7 @@ Labels may be used * To add a short description to a course section'; $string['modulename_link'] = 'mod/label/view'; $string['modulenameplural'] = 'Labels'; +$string['privacy:metadata'] = 'The mod_label plugin does not store any personal data.'; $string['pluginadministration'] = 'Label administration'; $string['pluginname'] = 'Label'; $string['search:activity'] = 'Label'; diff --git a/mod/page/classes/privacy/provider.php b/mod/page/classes/privacy/provider.php new file mode 100644 index 00000000000..6d6b808e05c --- /dev/null +++ b/mod/page/classes/privacy/provider.php @@ -0,0 +1,44 @@ +. + +/** + * Privacy Subsystem implementation for mod_page. + * + * @package mod_page + * @copyright 2018 Zig Tan + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ +namespace mod_page\privacy; + +defined('MOODLE_INTERNAL') || die(); + +/** + * The mod_page module does not store any data. + * + * @copyright 2018 Zig Tan + * @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 + */ + public static function get_reason() : string { + return 'privacy:metadata'; + } +} diff --git a/mod/page/lang/en/page.php b/mod/page/lang/en/page.php index b03a55272dd..d164de2ab13 100644 --- a/mod/page/lang/en/page.php +++ b/mod/page/lang/en/page.php @@ -64,4 +64,5 @@ $string['printheading'] = 'Display page name'; $string['printheadingexplain'] = 'Display page name above content?'; $string['printintro'] = 'Display page description'; $string['printintroexplain'] = 'Display page description above content?'; +$string['privacy:metadata'] = 'The mod_page plugin does not store any personal data.'; $string['search:activity'] = 'Page'; diff --git a/mod/resource/classes/privacy/provider.php b/mod/resource/classes/privacy/provider.php new file mode 100644 index 00000000000..257240ee670 --- /dev/null +++ b/mod/resource/classes/privacy/provider.php @@ -0,0 +1,44 @@ +. + +/** + * Privacy Subsystem implementation for mod_resource. + * + * @package mod_resource + * @copyright 2018 Zig Tan + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ +namespace mod_resource\privacy; + +defined('MOODLE_INTERNAL') || die(); + +/** + * The mod_resource module does not store any data. + * + * @copyright 2018 Zig Tan + * @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 + */ + public static function get_reason() : string { + return 'privacy:metadata'; + } +} diff --git a/mod/resource/lang/en/resource.php b/mod/resource/lang/en/resource.php index ba616acae63..8efabaf4d3b 100644 --- a/mod/resource/lang/en/resource.php +++ b/mod/resource/lang/en/resource.php @@ -93,6 +93,7 @@ $string['popupwidth'] = 'Pop-up width (in pixels)'; $string['popupwidthexplain'] = 'Specifies default width of popup windows.'; $string['printintro'] = 'Display resource description'; $string['printintroexplain'] = 'Display resource description below content? Some display types may not display description even if enabled.'; +$string['privacy:metadata'] = 'The mod_resource plugin does not store any personal data.'; $string['resource:addinstance'] = 'Add a new resource'; $string['resourcecontent'] = 'Files and subfolders'; $string['resourcedetails_sizetype'] = '{$a->size} {$a->type}'; diff --git a/mod/url/classes/privacy/provider.php b/mod/url/classes/privacy/provider.php new file mode 100644 index 00000000000..7c7f79a4346 --- /dev/null +++ b/mod/url/classes/privacy/provider.php @@ -0,0 +1,44 @@ +. + +/** + * Privacy Subsystem implementation for mod_url. + * + * @package mod_url + * @copyright 2018 Zig Tan + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ +namespace mod_url\privacy; + +defined('MOODLE_INTERNAL') || die(); + +/** + * The mod_url module does not store any data. + * + * @copyright 2018 Zig Tan + * @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 + */ + public static function get_reason() : string { + return 'privacy:metadata'; + } +} diff --git a/mod/url/lang/en/url.php b/mod/url/lang/en/url.php index 51abd4b4aa7..7b670a8389c 100644 --- a/mod/url/lang/en/url.php +++ b/mod/url/lang/en/url.php @@ -70,6 +70,7 @@ $string['popupwidth'] = 'Pop-up width (in pixels)'; $string['popupwidthexplain'] = 'Specifies default width of popup windows.'; $string['printintro'] = 'Display URL description'; $string['printintroexplain'] = 'Display URL description below content? Some display types may not display description even if enabled.'; +$string['privacy:metadata'] = 'The mod_url plugin does not store any personal data.'; $string['rolesinparams'] = 'Include role names in parameters'; $string['search:activity'] = 'URL'; $string['serverurl'] = 'Server URL';