MDL-61692 core_privacy: add privacyfields to link_ methods
authorJake Dallimore <jake@moodle.com>
Tue, 20 Mar 2018 07:20:22 +0000 (15:20 +0800)
committerJake Dallimore <jake@moodle.com>
Wed, 4 Apr 2018 02:00:39 +0000 (10:00 +0800)
commit19ca0aaa6b3a7eec74f105288e563aab239222df
treea9165e2909f4cfe697aca5d0adf8244a06678e4d
parent39fab18e27035b610fba956e1ff9e5f945bed0c5
MDL-61692 core_privacy: add privacyfields to link_ methods

Some subsystems are like conduits, passing data along to plugins which,
in turn, send the data externally. Only the component linking to (using)
the subsystem will know what data it is sending along to the eventual
external system, so should be able to specify this at the time of
linking. The same goes for plugintypes.
privacy/classes/local/metadata/collection.php
privacy/classes/local/metadata/types/plugintype_link.php
privacy/classes/local/metadata/types/subsystem_link.php
privacy/tests/collection_test.php
privacy/tests/types_plugintype_link_test.php
privacy/tests/types_subsystem_link_test.php