Skip to content

Commit

Permalink
API Update code to reflect changes in silverstripe/cms
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli committed Nov 10, 2024
1 parent 476b0f6 commit 8480be8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lang/en.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
en:
SilverStripe\ErrorPage\ErrorPage:
CLASS_DESCRIPTION: 'Custom content for different error cases (e.g. "Page not found")'
CODE: 'Error code'
CODE_400: '400 - Bad Request'
CODE_401: '401 - Unauthorized'
Expand Down
2 changes: 1 addition & 1 deletion src/ErrorPage.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class ErrorPage extends Page

private static $allowed_children = [];

private static $description = 'Custom content for different error cases (e.g. "Page not found")';
private static $class_description = 'Custom content for different error cases (e.g. "Page not found")';

private static $icon_class = 'font-icon-p-error';

Expand Down

0 comments on commit 8480be8

Please sign in to comment.