Skip to content

Commit

Permalink
API Update API to reflect changes in silverstripe/cms
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli committed Nov 7, 2024
1 parent 67eb95b commit 6107e4e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions lang/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ en:
Categories: Categories
Categorisation: Categorisation
Category: Category
CLASS_DESCRIPTION: 'Adds a blog to your website.'
Comments: Comments
DESCRIPTION: 'Adds a blog to your website.'
EDITOR: Editor
Expand Down
4 changes: 2 additions & 2 deletions src/Model/Blog.php
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,9 @@ class Blog extends Page implements PermissionProvider
/**
* @var string
*/
private static $description = 'Adds a blog to your website.';
private static $class_description = 'Adds a blog to your website.';

private static $icon_class = 'font-icon-p-posts';
private static $cms_icon_class = 'font-icon-p-posts';

/**
* {@inheritdoc}
Expand Down
2 changes: 1 addition & 1 deletion src/Model/BlogPost.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class BlogPost extends Page
/**
* @var string
*/
private static $icon_class = 'font-icon-p-post';
private static $cms_icon_class = 'font-icon-p-post';

/**
* @var array
Expand Down

0 comments on commit 6107e4e

Please sign in to comment.