minor change to entity display

This commit is contained in:
naomi 2018-05-03 14:11:04 +02:00
parent abd6ee896b
commit c909a51c1c
1 changed files with 1 additions and 3 deletions

View File

@ -246,7 +246,7 @@ class OCCase extends RevisionableContentEntityBase implements OCCaseInterface {
]) ])
->setDefaultValue('') ->setDefaultValue('')
->setDisplayOptions('view', [ ->setDisplayOptions('view', [
'label' => 'above', 'label' => 'hidden',
'type' => 'string', 'type' => 'string',
'weight' => -4, 'weight' => -4,
]) ])
@ -254,8 +254,6 @@ class OCCase extends RevisionableContentEntityBase implements OCCaseInterface {
'type' => 'string_textfield', 'type' => 'string_textfield',
'weight' => -4, 'weight' => -4,
]) ])
->setDisplayConfigurable('form', TRUE)
->setDisplayConfigurable('view', TRUE)
->setRequired(TRUE); ->setRequired(TRUE);