Skip to content

Commit

Permalink
Merge branch '3' into 4
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Nov 14, 2024
2 parents 8dfd9ce + 77bda47 commit e1bf063
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions lang/en.yml
Original file line number Diff line number Diff line change
@@ -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...'
Expand Down
5 changes: 5 additions & 0 deletions src/IFramePage.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,13 @@ class IFramePage extends Page

private static $table_name = 'IFramePage';

/**
* @deprecated 5.4.0 use class_description instead.
*/
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';

public function getCMSFields()
Expand Down

0 comments on commit e1bf063

Please sign in to comment.