minor change to entity display
This commit is contained in:
parent
abd6ee896b
commit
c909a51c1c
@ -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);
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user