Skip to content

Commit

Permalink
FIX Update CMS fields now that they're being scaffolded (#248)
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli authored Aug 15, 2024
1 parent 73ee72c commit 95e5361
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_cms_fields_settings = [
'ignoreFields' => [
'ShareTokenSalt',
],
'ignoreRelations' => [
'ShareTokens',
],
];

/**
* @var array
*/
Expand Down

0 comments on commit 95e5361

Please sign in to comment.