Skip to content

Commit

Permalink
FIX Update CMS fields now that they're being scaffolded (#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli authored Aug 15, 2024
1 parent 1a376dd commit df30be9
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_cms_fields_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 df30be9

Please sign in to comment.