Skip to content

Commit

Permalink
FEATURE Location versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
jsirish committed Sep 6, 2024
1 parent f58608c commit 3a67ff1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/Model/Location.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -74,6 +75,14 @@ class Location extends DataObject
'Links',
];

/**
* @var array
* @config
*/
private static array $extensions = [
Versioned::class,
];

/**
* @return FieldList
*/
Expand Down

0 comments on commit 3a67ff1

Please sign in to comment.