Skip to content

Commit 92c1a52

Browse files
API Use new class_description configuration (#111)
1 parent 6370d5b commit 92c1a52

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

lang/en.yml

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ en:
22
SilverStripe\Registry\RegistryAdmin:
33
MENUTITLE: Registry
44
SilverStripe\Registry\RegistryPage:
5+
CLASS_DESCRIPTION: 'Shows large series of data in a filterable, searchable, and paginated list'
56
DESCRIPTION: 'Shows large series of data in a filterable, searchable, and paginated list'
67
DataClassFieldLabel: 'Data Class'
78
ExportAll: 'Export results to CSV'

src/RegistryPage.php

+5
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,13 @@
1616

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

24+
private static $class_description = 'Shows large series of data in a filterable, searchable, and paginated list';
25+
2126
private static $table_name = 'RegistryPage';
2227

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

0 commit comments

Comments
 (0)