Added private files setting to case entity
This commit is contained in:
parent
2708b0193d
commit
c261552cc1
@ -281,6 +281,7 @@ class OCCase extends RevisionableContentEntityBase implements OCCaseInterface {
|
|||||||
->setSetting('handler', 'default:file')
|
->setSetting('handler', 'default:file')
|
||||||
->setSetting('file_extensions', 'txt jpg jpeg gif rtf xls xlsx doc swf png pdf docx csv')
|
->setSetting('file_extensions', 'txt jpg jpeg gif rtf xls xlsx doc swf png pdf docx csv')
|
||||||
->setSetting('description_field', 'true')
|
->setSetting('description_field', 'true')
|
||||||
|
->setSetting('uri_scheme', 'private')
|
||||||
->setCardinality(-1)
|
->setCardinality(-1)
|
||||||
->setDisplayOptions('form', [
|
->setDisplayOptions('form', [
|
||||||
'type' => 'file_generic',
|
'type' => 'file_generic',
|
||||||
|
Reference in New Issue
Block a user