diff --git a/mod/book/tool/exportimscp/classes/privacy/provider.php b/mod/book/tool/exportimscp/classes/privacy/provider.php new file mode 100644 index 00000000000..05967bf152e --- /dev/null +++ b/mod/book/tool/exportimscp/classes/privacy/provider.php @@ -0,0 +1,46 @@ +. + +/** + * Privacy provider implementation for booktool_exportimscp. + * + * @package booktool_exportimscp + * @copyright 2018 Mihail Geshoski + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ + +namespace booktool_exportimscp\privacy; + +defined('MOODLE_INTERNAL') || die(); + +/** + * Privacy provider implementation for booktool_exportimscp. + * + * @copyright 2018 Mihail Geshoski + * @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/book/tool/exportimscp/lang/en/booktool_exportimscp.php b/mod/book/tool/exportimscp/lang/en/booktool_exportimscp.php index 27e7cc0e9f6..b8dd8a8bfe5 100644 --- a/mod/book/tool/exportimscp/lang/en/booktool_exportimscp.php +++ b/mod/book/tool/exportimscp/lang/en/booktool_exportimscp.php @@ -29,3 +29,4 @@ $string['exportimscp:export'] = 'Export book as IMS content package'; $string['generateimscp'] = 'Generate IMS CP'; $string['nochapters'] = 'No book chapters found, so unable to export to IMS CP.'; $string['pluginname'] = 'Book IMS CP export'; +$string['privacy:metadata'] = 'The Book IMS CP export plugin does not store any personal data.'; diff --git a/mod/book/tool/importhtml/classes/privacy/provider.php b/mod/book/tool/importhtml/classes/privacy/provider.php new file mode 100644 index 00000000000..d9adab5db00 --- /dev/null +++ b/mod/book/tool/importhtml/classes/privacy/provider.php @@ -0,0 +1,46 @@ +. + +/** + * Privacy provider implementation for booktool_importhtml. + * + * @package booktool_importhtml + * @copyright 2018 Mihail Geshoski + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ + +namespace booktool_importhtml\privacy; + +defined('MOODLE_INTERNAL') || die(); + +/** + * Privacy provider implementation for booktool_importhtml. + * + * @copyright 2018 Mihail Geshoski + * @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/book/tool/importhtml/lang/en/booktool_importhtml.php b/mod/book/tool/importhtml/lang/en/booktool_importhtml.php index 366810100a9..f21f96e346e 100644 --- a/mod/book/tool/importhtml/lang/en/booktool_importhtml.php +++ b/mod/book/tool/importhtml/lang/en/booktool_importhtml.php @@ -31,6 +31,7 @@ $string['importhtml:import'] = 'Import chapters'; $string['importing'] = 'Importing'; $string['importingchapters'] = 'Importing chapters into book'; $string['pluginname'] = 'Book chapter import'; +$string['privacy:metadata'] = 'The Book chapter import plugin does not store any personal data.'; $string['relinking'] = 'Relinking'; $string['type'] = 'Type'; $string['typeonefile'] = 'One HTML file with headings as chapters'; diff --git a/mod/book/tool/print/classes/privacy/provider.php b/mod/book/tool/print/classes/privacy/provider.php new file mode 100644 index 00000000000..7f41705e6a5 --- /dev/null +++ b/mod/book/tool/print/classes/privacy/provider.php @@ -0,0 +1,46 @@ +. + +/** + * Privacy provider implementation for booktool_print. + * + * @package booktool_print + * @copyright 2018 Mihail Geshoski + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ + +namespace booktool_print\privacy; + +defined('MOODLE_INTERNAL') || die(); + +/** + * Privacy provider implementation for booktool_print. + * + * @copyright 2018 Mihail Geshoski + * @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/book/tool/print/lang/en/booktool_print.php b/mod/book/tool/print/lang/en/booktool_print.php index 29f6464eea6..3d7451cbecd 100644 --- a/mod/book/tool/print/lang/en/booktool_print.php +++ b/mod/book/tool/print/lang/en/booktool_print.php @@ -32,3 +32,4 @@ $string['printchapter'] = 'Print this chapter'; $string['printdate'] = 'Date'; $string['printedby'] = 'Printed by'; $string['print:print'] = 'Print book'; +$string['privacy:metadata'] = 'The Book printing plugin does not store any personal data.';