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 f655c76 commit 0b7da51
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/ErrorPage.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,14 @@ class ErrorPage extends Page
"ErrorCode" => 400
];

private static array $scaffold_cmsfields_settings = [
'ignoreFields' => [
// Scaffolded field is incorrect and poorly placed,
// so don't waste time scaffolding it
'ErrorCode',
],
];

private static $table_name = 'ErrorPage';

private static $allowed_children = [];
Expand Down

0 comments on commit 0b7da51

Please sign in to comment.