Skip to content

Commit

Permalink
FIX Update CMS fields now that they're being scaffolded
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli committed Aug 12, 2024
1 parent f841219 commit 43b6baa
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/Extensions/SiteTreeContentReview.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,21 @@ class SiteTreeContentReview extends DataExtension implements PermissionProvider
"ContentReviewUsers" => Member::class,
];

private static array $scaffold_cms_fields_settings = [
'ignoreFields' => [
'ContentReviewType',
'ReviewPeriodDays',
'NextReviewDate',
'LastEditedByName',
'OwnerNames',
],
'ignoreRelations' => [
'ReviewLogs',
'ContentReviewGroups',
'ContentReviewUsers',
],
];

/**
* @var array
*/
Expand Down

0 comments on commit 43b6baa

Please sign in to comment.