FIX Update CMS fields now that they're being scaffolded (#248)

This commit is contained in:
Guy Sartorelli 2024-08-15 13:50:19 +12:00 committed by GitHub
parent f841219871
commit 4aa8b70a42
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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
*/ */