From 7c66cbd7914e108145579f79e66fff4446e39a5b Mon Sep 17 00:00:00 2001 From: naomi Date: Sat, 14 Apr 2018 13:30:41 +0200 Subject: [PATCH] Cosmetic changes to case entity fields --- modules/zencrm_entities/src/Entity/CaseEntity.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/zencrm_entities/src/Entity/CaseEntity.php b/modules/zencrm_entities/src/Entity/CaseEntity.php index bad6bea..393d747 100644 --- a/modules/zencrm_entities/src/Entity/CaseEntity.php +++ b/modules/zencrm_entities/src/Entity/CaseEntity.php @@ -179,15 +179,15 @@ class CaseEntity extends ContentEntityBase implements CaseEntityInterface { ->setTranslatable(TRUE); $fields['name'] = BaseFieldDefinition::create('string') - ->setLabel(t('Name')) - ->setDescription(t('The name of the Case entity entity.')) + ->setLabel(t('Title')) + ->setDescription(t('A name for this case')) ->setSettings([ 'max_length' => 50, 'text_processing' => 0, ]) ->setDefaultValue('') ->setDisplayOptions('view', [ - 'label' => 'above', + 'label' => 'hidden', 'type' => 'string', 'weight' => -4, ])