MDL-62315 form: Implement the privacy API for core_form subsystem
commit8010382a9c43d2819a99562c45fab84411c8c1df
authorDavid Mudrák <david@moodle.com>
Thu, 3 May 2018 11:44:44 +0000 (3 13:44 +0200)
committerDavid Mudrák <david@moodle.com>
Thu, 3 May 2018 17:06:19 +0000 (3 19:06 +0200)
treee2064c83a36441ec4852fd2fa40aa3bc090d9404
parent8e5187c0b6d72bfa7671f1520db1b9f3ad961569
MDL-62315 form: Implement the privacy API for core_form subsystem

Forms subsystem has no own database table. The only personal data is the
user preference 'filemanager_recentviewmode' that stores the view mode
of the file picker element.

It was discussed whether handling of this preference should be added
here into core_form, or rather into core_repository subsystem. The final
decision was to consider the preference as owned by the core_form
because it is affecting the display of a form element, not the
repository backend (even though the strings describing it had been put
into core_repository strings).
lang/en/form.php
lib/form/classes/privacy/provider.php [new file with mode: 0644]
lib/form/tests/privacy_provider_test.php [new file with mode: 0644]