From 4840772138805edb3a8cc0d3a5120a5bbd0a627d Mon Sep 17 00:00:00 2001 From: Guy Sartorelli Date: Mon, 11 Nov 2024 11:56:51 +1300 Subject: [PATCH] API Update code to reflect changes from silverstripe/cms --- code/Model/UserDefinedForm.php | 2 +- lang/en.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/code/Model/UserDefinedForm.php b/code/Model/UserDefinedForm.php index eaa2c203..298d44aa 100755 --- a/code/Model/UserDefinedForm.php +++ b/code/Model/UserDefinedForm.php @@ -24,7 +24,7 @@ class UserDefinedForm extends Page /** * @var string */ - 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.'