Open danmarsden opened 6 months ago
In addition to Dan's comment, the Privacy API should be implemented even if the plugin is not collecting any information about the user: https://moodledev.io/docs/4.5/apis/subsystems/privacy#implementation-requirements.
You can review any standard Moodle block plugin code to see how the Privacy API is implemented for other blocks.
Moodle uses a privacy API for GDPR compliance to allow plugins to specify how they deal with user data. Your plugin doesn't appear to store any user data so you should be able to implement the simple null provider class.
Sites that use continuous integration processes will not be able to use your plugin because Moodle runs unit tests which check to see if all extra plugins include the privacy class.
More information on the privacy class is here: https://moodledev.io/docs/apis/subsystems/privacy