diff --git a/code/Model/UserDefinedForm.php b/code/Model/UserDefinedForm.php index eaa2c203..e4c6ec8f 100755 --- a/code/Model/UserDefinedForm.php +++ b/code/Model/UserDefinedForm.php @@ -23,9 +23,12 @@ class UserDefinedForm extends Page /** * @var string + * @deprecated 5.4.0 use class_description instead. */ private static $description = 'Adds a customizable form.'; + private static $class_description = 'Adds a customizable form.'; + /** * @var string */ diff --git a/lang/en.yml b/lang/en.yml index aa9f2dd0..2f6a7d48 100644 --- a/lang/en.yml +++ b/lang/en.yml @@ -353,6 +353,7 @@ en: has_one_Parent: Parent SilverStripe\UserForms\Model\UserDefinedForm: ADDEMAILRECIPIENT: 'Add Email Recipient' + CLASS_DESCRIPTION: 'Adds a customizable form.' CLEARBUTTON: Clear CONFIGURATION: Configuration DESCRIPTION: 'Adds a customizable form.'