Skip to content

Commit

Permalink
Merge branch '5' into 6
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli committed Nov 14, 2024
2 parents cce5110 + d3cbca7 commit b77d664
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Models/BaseElement.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,12 @@ class BaseElement extends DataObject implements CMSPreviewable
*
* @config
* @var string
* @deprecated 5.4.0 use class_description instead.
*/
private static $description = 'Base element class';

private static $class_description = 'Base element class';

/**
* List of fields to exclude from CMS SiteTree seatch
* @see ElementSiteTreeFilterSearch::applyDefaultFilters()
Expand Down
5 changes: 5 additions & 0 deletions src/Models/ElementContent.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,13 @@ class ElementContent extends BaseElement

private static $plural_name = 'content blocks';

/**
* @deprecated 5.4.0 use class_description instead.
*/
private static $description = 'HTML text block';

private static $class_description = 'HTML text block';

/**
* Re-title the HTML field to Content
*
Expand Down

0 comments on commit b77d664

Please sign in to comment.