From a92b79a3de2315ab5bf495159e0b3758fc7a2fc5 Mon Sep 17 00:00:00 2001 From: Guy Sartorelli <36352093+GuySartorelli@users.noreply.github.com> Date: Thu, 14 Nov 2024 15:00:19 +1300 Subject: [PATCH] API Use new class_description configuration (#794) --- lang/en.yml | 1 + src/Model/Blog.php | 3 +++ 2 files changed, 4 insertions(+) diff --git a/lang/en.yml b/lang/en.yml index db5be200..5fd0a657 100644 --- a/lang/en.yml +++ b/lang/en.yml @@ -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 diff --git a/src/Model/Blog.php b/src/Model/Blog.php index c843997f..27f16099 100644 --- a/src/Model/Blog.php +++ b/src/Model/Blog.php @@ -131,9 +131,12 @@ class Blog extends Page implements PermissionProvider /** * @var string + * @deprecated 5.4.0 use class_description instead. */ 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'; /**