From c909a51c1cf3cd29fa78960a5f346940f49d96b1 Mon Sep 17 00:00:00 2001 From: naomi Date: Thu, 3 May 2018 14:11:04 +0200 Subject: [PATCH] minor change to entity display --- modules/opencase_entities/src/Entity/OCCase.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/opencase_entities/src/Entity/OCCase.php b/modules/opencase_entities/src/Entity/OCCase.php index b7ed361..c4ecb4f 100644 --- a/modules/opencase_entities/src/Entity/OCCase.php +++ b/modules/opencase_entities/src/Entity/OCCase.php @@ -246,7 +246,7 @@ class OCCase extends RevisionableContentEntityBase implements OCCaseInterface { ]) ->setDefaultValue('') ->setDisplayOptions('view', [ - 'label' => 'above', + 'label' => 'hidden', 'type' => 'string', 'weight' => -4, ]) @@ -254,8 +254,6 @@ class OCCase extends RevisionableContentEntityBase implements OCCaseInterface { 'type' => 'string_textfield', 'weight' => -4, ]) - ->setDisplayConfigurable('form', TRUE) - ->setDisplayConfigurable('view', TRUE) ->setRequired(TRUE);