Skip to content

Commit

Permalink
API Use new class_description configuration (#794)
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli authored Nov 14, 2024
1 parent 5b35eae commit a92b79a
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 a92b79a

Please sign in to comment.