Skip to content

Commit

Permalink
API Remove CMSPreviewable interface from BaseElement
Browse files Browse the repository at this point in the history
Previews are managed by silverstripe/versioned-admin in SS 4.2 and newer, so
this interface is not necessary.
  • Loading branch information
robbieaverill committed Apr 12, 2018
1 parent 435666a commit 281a9e9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Models/BaseElement.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
use SilverStripe\Forms\HiddenField;
use SilverStripe\Forms\NumericField;
use SilverStripe\Forms\TextField;
use SilverStripe\ORM\CMSPreviewable;
use SilverStripe\ORM\DataObject;
use SilverStripe\ORM\FieldType\DBField;
use SilverStripe\ORM\FieldType\DBHTMLText;
Expand All @@ -52,7 +51,7 @@
*
* @method ElementalArea Parent()
*/
class BaseElement extends DataObject implements CMSPreviewable
class BaseElement extends DataObject
{
/**
* Override this on your custom elements to specify a CSS icon class
Expand Down

0 comments on commit 281a9e9

Please sign in to comment.