silverstripe-cms/_config/graphql.yml
2020-12-08 11:26:59 +13:00

22 lines
527 B
YAML

---
Name: cms-graphql
Only:
classexists: 'SilverStripe\GraphQL\Schema\Schema'
---
SilverStripe\Core\Injector\Injector:
SilverStripe\GraphQL\Schema\Registry\PluginRegistry:
constructor:
- 'SilverStripe\CMS\GraphQL\LinkablePlugin'
SilverStripe\CMS\Model\SiteTree:
graphql_blacklisted_fields:
HasBrokenFile: true
HasBrokenLink: true
ReportClass: true
VirtualPages: true
BackLinks: true
SilverStripe\GraphQL\Schema\Schema:
schemas:
admin:
src:
- 'silverstripe/cms: _graphql'