diff --git a/code/Model/SiteTree.php b/code/Model/SiteTree.php index 5d33539ad7..4fbdc45640 100755 --- a/code/Model/SiteTree.php +++ b/code/Model/SiteTree.php @@ -285,7 +285,6 @@ class SiteTree extends DataObject implements PermissionProvider, i18nEntityProvi 'Link' => 'Text', 'RelativeLink' => 'Text', 'AbsoluteLink' => 'Text', - 'CMSEditLink' => 'Text', 'TreeTitle' => 'HTMLFragment', 'MetaTags' => 'HTMLFragment', ]; @@ -758,20 +757,6 @@ public function getAbsoluteLiveLink($includeStageEqualsLive = true) return $link; } - /** - * Generates a link to edit this page in the CMS. - * - * Implemented here to satisfy the CMSPreviewable interface, but data is intended to be loaded via Extension - * - * @see SilverStripe\Admin\CMSEditLinkExtension - * - * @return string - */ - public function CMSEditLink() - { - return $this->extend('CMSEditLink')[0] ?? ''; - } - /** * Return a CSS identifier generated from this page's link. *