Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
|
The provider interface for plugins which need access to all approved contexts to fill in relevant contextual data. More...
Static Public Member Functions | |
static | export_context_data (\core_privacy\local\request\contextlist_collection $contextcollection) |
Give the component a chance to include any contextual information deemed relevant to any child contexts which are exporting personal data. | |
The provider interface for plugins which need access to all approved contexts to fill in relevant contextual data.
|
static |
Give the component a chance to include any contextual information deemed relevant to any child contexts which are exporting personal data.
By giving the component access to the full list of contexts being exported across all components, it can determine whether a descendant context is being exported, and decide whether to add relevant contextual information about itself. Having access to the full list of contexts being exported is what makes this component a context aware provider.
core_privacy\local\request\contextlist_collection | $contextcollection | The collection of approved context lists. |