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

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

Add a key when enabling the CommentsExtension.
Add a key when enabling the CommentsExtension.

This allows modules to unset it if necessary.
