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 8, 2024
1 parent 73ee72c commit eddff82
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/Extensions/ShareDraftContentSiteTreeExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,15 @@ class ShareDraftContentSiteTreeExtension extends DataExtension
'ShareTokens' => ShareToken::class,
);

private static array $scaffold_cmsfields_settings = [
'ignoreFields' => [
'ShareTokenSalt',
],
'ignoreRelations' => [
'ShareTokens',
],
];

/**
* @var array
*/
Expand Down

0 comments on commit eddff82

Please sign in to comment.