Skip to content

Commit

Permalink
add config to make module work in siteconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
xini committed Feb 5, 2024
1 parent dabf95b commit d74650b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions _config/hasoneedit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,13 @@ SilverStripe\Forms\GridField\GridFieldDetailForm_ItemRequest:
SilverStripe\ORM\DataObject:
extensions:
- SGN\HasOneEdit\DataObjectExtension

---
Name: hasoneedit-siteconfig
After: '#coreextensions'
Only:
moduleexists: 'silverstripe/siteconfig'
---
SilverStripe\SiteConfig\SiteConfigLeftAndMain:
extensions:
- SGN\HasOneEdit\UpdateFormExtension

0 comments on commit d74650b

Please sign in to comment.