diff --git a/lang/en.yml b/lang/en.yml index fd9cae1..f6ef9c1 100644 --- a/lang/en.yml +++ b/lang/en.yml @@ -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' diff --git a/src/RegistryPage.php b/src/RegistryPage.php index b0f8599..6fa15a1 100644 --- a/src/RegistryPage.php +++ b/src/RegistryPage.php @@ -17,8 +17,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';