Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FIX Update CMS fields now that they're being scaffolded
Browse files Browse the repository at this point in the history
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
@@ -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 = [];

0 comments on commit 0b7da51

Please sign in to comment.