From 94d2b8a81b815e2f3421be0a493295a8654aa6b7 Mon Sep 17 00:00:00 2001 From: Guy Sartorelli Date: Thu, 7 Nov 2024 16:52:40 +1300 Subject: [PATCH] API Update API to reflect changes in silverstripe/cms --- lang/en.yml | 1 + src/IFramePage.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lang/en.yml b/lang/en.yml index 152778c..c74991f 100644 --- a/lang/en.yml +++ b/lang/en.yml @@ -1,5 +1,6 @@ en: SilverStripe\IFrame\IFramePage: + CLASS_DESCRIPTION: 'Embeds an iframe into the body of the page.' DESCRIPTION: 'Embeds an iframe into the body of the page.' ExternalNote: 'Please note the following section of content is possibly being delivered from an external source (IFRAME in HTML terms), and may present unusual experiences for screen readers.' Loading: 'Loading content...' diff --git a/src/IFramePage.php b/src/IFramePage.php index 95bdc63..2a08286 100644 --- a/src/IFramePage.php +++ b/src/IFramePage.php @@ -38,7 +38,7 @@ class IFramePage extends Page private static $table_name = 'IFramePage'; - private static $description = 'Embeds an iframe into the body of the page.'; + private static $class_description = 'Embeds an iframe into the body of the page.'; private static $singular_name = 'IFrame Page';