activity provider field now uses case_providers view
This commit is contained in:
parent
9351768b25
commit
f671580ed7
@ -247,7 +247,12 @@ class OCActivity extends RevisionableContentEntityBase implements OCActivityInte
|
||||
->setLabel(t('Provider'))
|
||||
->setRevisionable(TRUE)
|
||||
->setSetting('target_type', 'oc_actor')
|
||||
->setSetting('handler', 'default')
|
||||
->setSetting('handler', 'views')
|
||||
->setSetting('handler_settings', [
|
||||
'view' => [
|
||||
'view_name' => 'case_providers',
|
||||
'display_name' => 'entity_reference_1'
|
||||
]])
|
||||
->setDefaultValueCallback('\Drupal\opencase_entities\Entity\OCActivity::loggedInActorId')
|
||||
->setDisplayConfigurable('form', true)
|
||||
->setDisplayConfigurable('view', true);
|
||||
|
Reference in New Issue
Block a user