This commit is contained in:
Jun Pataleta
2025-09-17 20:04:41 +08:00
2 changed files with 16 additions and 0 deletions
@@ -80,6 +80,17 @@ class provider implements
'privacy:metadata:customfield_data'
);
$collection->add_database_table(
'customfield_shared',
[
'categoryid' => 'privacy:metadata:customfield_shared:categoryid',
'component' => 'privacy:metadata:customfield_shared:component',
'area' => 'privacy:metadata:customfield_shared:area',
'itemid' => 'privacy:metadata:customfield_shared:itemid',
],
'privacy:metadata:customfield_shared'
);
// Link to subplugins.
$collection->add_plugintype_link('customfield', [], 'privacy:metadata:customfieldpluginsummary');
+5
View File
@@ -85,6 +85,11 @@ $string['privacy:metadata:customfield_data:timemodified'] = 'Time when data was
$string['privacy:metadata:customfield_data:value'] = 'Data value, when it is a text';
$string['privacy:metadata:customfield_data:valueformat'] = 'The format of the value, when it is a text';
$string['privacy:metadata:customfield_data:valuetrust'] = 'The trust flag of the value, when it is text';
$string['privacy:metadata:customfield_shared'] = 'Represents custom field shared saved to a context';
$string['privacy:metadata:customfield_shared:area'] = 'The area the shared field is associated with';
$string['privacy:metadata:customfield_shared:categoryid'] = 'The ID of the category the shared field belongs to';
$string['privacy:metadata:customfield_shared:component'] = 'The component the shared field is associated with';
$string['privacy:metadata:customfield_shared:itemid'] = 'The ID of the item the shared field is associated with';
$string['privacy:metadata:customfieldpluginsummary'] = 'Fields for various components';
$string['privacy:metadata:filepurpose'] = 'File attached to the custom field data';
$string['sharedcategoryhelptext'] = 'When enabled, the custom fields in this category will be used';