From 2807b8644727861bb9b3e5b6eecedd0d5a13a300 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 4898e217..a5e82c1d 100644 --- a/src/Model/Blog.php +++ b/src/Model/Blog.php @@ -145,7 +145,7 @@ class Blog extends Page implements PermissionProvider */ private static $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