Skip to content

Commit e1bf063

Browse files
Merge branch '3' into 4
2 parents 8dfd9ce + 77bda47 commit e1bf063

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
@@ -1,5 +1,6 @@
11
en:
22
SilverStripe\IFrame\IFramePage:
3+
CLASS_DESCRIPTION: 'Embeds an iframe into the body of the page.'
34
DESCRIPTION: 'Embeds an iframe into the body of the page.'
45
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.'
56
Loading: 'Loading content...'

src/IFramePage.php

+5
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,13 @@ class IFramePage extends Page
3838

3939
private static $table_name = 'IFramePage';
4040

41+
/**
42+
* @deprecated 5.4.0 use class_description instead.
43+
*/
4144
private static $description = 'Embeds an iframe into the body of the page.';
4245

46+
private static $class_description = 'Embeds an iframe into the body of the page.';
47+
4348
private static $singular_name = 'IFrame Page';
4449

4550
public function getCMSFields()

0 commit comments

Comments
 (0)