Skip to content

Commit

Permalink
API Use new class_description configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli committed Nov 11, 2024
1 parent 5b35eae commit 5aa533f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 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
3 changes: 3 additions & 0 deletions src/Model/Blog.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';

/**
Expand Down

0 comments on commit 5aa533f

Please sign in to comment.