From 51d7ad662b0ebaeedbe122c93c57f75828d43c2e Mon Sep 17 00:00:00 2001 From: Guy Sartorelli Date: Tue, 22 Oct 2024 15:37:30 +1300 Subject: [PATCH] API Update API to reflect changes in silverstripe/cms --- src/Model/Blog.php | 2 +- src/Model/BlogPost.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Model/Blog.php b/src/Model/Blog.php index ad0ea8ae..fb04ae9a 100644 --- a/src/Model/Blog.php +++ b/src/Model/Blog.php @@ -142,7 +142,7 @@ class Blog extends Page implements PermissionProvider 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} diff --git a/src/Model/BlogPost.php b/src/Model/BlogPost.php index bc68c620..3b3221cf 100644 --- a/src/Model/BlogPost.php +++ b/src/Model/BlogPost.php @@ -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