diff --git a/src/Model/Location.php b/src/Model/Location.php index 38add7c..bfce091 100644 --- a/src/Model/Location.php +++ b/src/Model/Location.php @@ -6,6 +6,7 @@ use SilverStripe\Forms\FieldList; use SilverStripe\LinkField\Models\Link; use SilverStripe\LinkField\Form\MultiLinkField; +use SilverStripe\Versioned\Versioned; /** * Class \Dynamic\Elements\Locations\Model\Location @@ -74,6 +75,14 @@ class Location extends DataObject 'Links', ]; + /** + * @var array + * @config + */ + private static array $extensions = [ + Versioned::class, + ]; + /** * @return FieldList */