Skip to content

Commit

Permalink
API Use new class_description configuration (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli authored Nov 14, 2024
1 parent 6370d5b commit 92c1a52
Show file tree
Hide file tree
Showing 2 changed files with 6 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 @@ -2,6 +2,7 @@ en:
SilverStripe\Registry\RegistryAdmin:
MENUTITLE: Registry
SilverStripe\Registry\RegistryPage:
CLASS_DESCRIPTION: 'Shows large series of data in a filterable, searchable, and paginated list'
DESCRIPTION: 'Shows large series of data in a filterable, searchable, and paginated list'
DataClassFieldLabel: 'Data Class'
ExportAll: 'Export results to CSV'
Expand Down
5 changes: 5 additions & 0 deletions src/RegistryPage.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,13 @@

class RegistryPage extends Page
{
/**
* @deprecated 5.4.0 use class_description instead.
*/
private static $description = 'Shows large series of data in a filterable, searchable, and paginated list';

private static $class_description = 'Shows large series of data in a filterable, searchable, and paginated list';

private static $table_name = 'RegistryPage';

private static $icon_class = 'font-icon-p-data';
Expand Down

0 comments on commit 92c1a52

Please sign in to comment.