mirror of
https://github.com/silverstripe/silverstripe-contentreview
synced 2024-10-22 17:05:47 +02:00
FIX Update CMS fields now that they're being scaffolded (#248)
This commit is contained in:
parent
f841219871
commit
4aa8b70a42
@ -93,6 +93,21 @@ class SiteTreeContentReview extends DataExtension implements PermissionProvider
|
|||||||
"ContentReviewUsers" => Member::class,
|
"ContentReviewUsers" => Member::class,
|
||||||
];
|
];
|
||||||
|
|
||||||
|
private static array $scaffold_cms_fields_settings = [
|
||||||
|
'ignoreFields' => [
|
||||||
|
'ContentReviewType',
|
||||||
|
'ReviewPeriodDays',
|
||||||
|
'NextReviewDate',
|
||||||
|
'LastEditedByName',
|
||||||
|
'OwnerNames',
|
||||||
|
],
|
||||||
|
'ignoreRelations' => [
|
||||||
|
'ReviewLogs',
|
||||||
|
'ContentReviewGroups',
|
||||||
|
'ContentReviewUsers',
|
||||||
|
],
|
||||||
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user