Cosmetic changes to case entity fields

This commit is contained in:
naomi 2018-04-14 13:30:41 +02:00
parent 9d84451cb0
commit 7c66cbd791
1 changed files with 3 additions and 3 deletions

View File

@ -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,
])