added defauilt value to OCCaseFee
This commit is contained in:
parent
f9654bcd78
commit
57795b6393
@ -230,7 +230,8 @@ class OCCaseFee extends EditorialContentEntityBase implements OCCaseFeeInterface
|
|||||||
->setLabel(t('Visible'))
|
->setLabel(t('Visible'))
|
||||||
->setDescription(t('A boolean indicating whether the Case Fee is published.'))
|
->setDescription(t('A boolean indicating whether the Case Fee is published.'))
|
||||||
->setDisplayConfigurable('form', TRUE)
|
->setDisplayConfigurable('form', TRUE)
|
||||||
->setDisplayConfigurable('view', TRUE);
|
->setDisplayConfigurable('view', TRUE)
|
||||||
|
->setDefaultValue(TRUE);
|
||||||
|
|
||||||
$fields['created'] = BaseFieldDefinition::create('created')
|
$fields['created'] = BaseFieldDefinition::create('created')
|
||||||
->setLabel(t('Created'))
|
->setLabel(t('Created'))
|
||||||
@ -268,7 +269,7 @@ class OCCaseFee extends EditorialContentEntityBase implements OCCaseFeeInterface
|
|||||||
->setDisplayConfigurable("view", true)
|
->setDisplayConfigurable("view", true)
|
||||||
->setDisplayConfigurable("form", true)
|
->setDisplayConfigurable("form", true)
|
||||||
->setRequired(FALSE);
|
->setRequired(FALSE);
|
||||||
|
|
||||||
$fields['description'] = BaseFieldDefinition::create('string_long')
|
$fields['description'] = BaseFieldDefinition::create('string_long')
|
||||||
->setRevisionable(TRUE)
|
->setRevisionable(TRUE)
|
||||||
->setLabel(t('Description'))
|
->setLabel(t('Description'))
|
||||||
|
Reference in New Issue
Block a user