Removed author field and simplified case title field
This commit is contained in:
parent
690ec3b509
commit
8b07bbe63f
@ -233,8 +233,7 @@ class OCCase extends RevisionableContentEntityBase implements OCCaseInterface {
|
||||
'type' => 'author',
|
||||
]);
|
||||
$fields['name'] = BaseFieldDefinition::create('string')
|
||||
->setLabel(t('Case Title'))
|
||||
->setDescription(t('A short phrase summing up what this case is about.'))
|
||||
->setLabel(t('Title'))
|
||||
->setRevisionable(TRUE)
|
||||
->setSettings([
|
||||
'max_length' => 50,
|
||||
|
@ -396,12 +396,7 @@ class OCOrganisation extends EditorialContentEntityBase implements OCOrganisatio
|
||||
->setRevisionable(TRUE)
|
||||
->setSetting('target_type', 'user')
|
||||
->setSetting('handler', 'default')
|
||||
->setTranslatable(TRUE)
|
||||
->setDisplayOptions('view', [
|
||||
'label' => 'inline',
|
||||
'type' => 'author',
|
||||
'weight' => 80,
|
||||
]);
|
||||
->setTranslatable(TRUE);
|
||||
|
||||
$fields['name'] = BaseFieldDefinition::create('string')
|
||||
->setLabel(t('Name'))
|
||||
|
Reference in New Issue
Block a user