Skip to content

Commit

Permalink
Merge pull request #27 from xini/pull-siteconfig
Browse files Browse the repository at this point in the history
add config to make module work in siteconfig, fixes #26
  • Loading branch information
stevie-mayhew authored Feb 6, 2024
2 parents dabf95b + d74650b commit eec999c
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 eec999c

Please sign in to comment.