Pulling case_id through when creating an activity and client_id when creating a case. (Only for demo really; bit of tech debt)

This commit is contained in:
2021-08-26 21:41:36 +01:00
parent 3586ef5788
commit 794bc0da68
4 changed files with 10 additions and 5 deletions

View File

@ -217,6 +217,8 @@ class OCCase extends RevisionableContentEntityBase implements OCCaseInterface {
->setSetting('target_type', 'user')
->setSetting('handler', 'default')
->setTranslatable(TRUE)
->setDisplayConfigurable('form', true)
->setDisplayConfigurable('view', true)
->setDisplayOptions('view', [
'label' => 'above',
'type' => 'author',
@ -250,6 +252,8 @@ class OCCase extends RevisionableContentEntityBase implements OCCaseInterface {
->setSetting('description_field', 'true')
->setSetting('uri_scheme', 'private')
->setCardinality(-1)
->setDisplayConfigurable('form', true)
->setDisplayConfigurable('view', true)
->setDisplayOptions('form', [
'type' => 'file_generic',
'weight' => -1,