Privacy API
From MoodleDocs
Overview
The Privacy API has been implemented to help report the use of data within Moodle Plugins as part of General Data Protection Regulations.
It shall be expected that *all* plugins will require to report their use of and storing of personal data.
All plugins will be expected to implement a privacy provider class. This class will provide details on:
- personal data being held by the plugin in:
- database tables
- subsystems
- user preferences
- external locations
Plugins that do not hold personal data
If a plugin does not hold any personal data it should implement a provider class that implements the core_privacy\local\metadata\null_provider
.
=get_reason(): string
This function should return a string that explains why the plugin is asserting that it holds no personal data.