silverstripe-dms/_config/config.yml
Robbie Averill ac5a01614b FIX Ensure DMSUploadField called via injection is returned correctly
Fixes an incompatibility with SelectUploadField in CWP
2017-07-27 13:36:50 +12:00

17 lines
431 B
YAML

---
Name: dmsconfig
---
SiteTree:
extensions:
- DMSSiteTreeExtension
# Whether to show the document sets tab in the CMS for the page type this extension is applied to
documents_enabled: true
HtmlEditorField_Toolbar:
extensions:
- DocumentHtmlEditorFieldToolbar
# Ensure that if the parent UploadField is overloaded with the injector, that the DMSUploadField is returned
Injector:
DMSUploadField: DMSUploadField