silverstripe-comments/_config/comments.yml
Steffen Maass 57a9617d5b Add a key when enabling the CommentsExtension.
This allows modules to unset it if necessary.
2022-11-19 16:42:56 -08:00

12 lines
245 B
YAML

---
# SiteTree specific config for comments
Name: commentssitetree
only:
moduleexists: 'cms'
---
SilverStripe\CMS\Model\SiteTree:
extensions:
comments: SilverStripe\Comments\Extensions\CommentsExtension
comments:
enabled_cms: true