made published field configurable on case fee
This commit is contained in:
parent
cffe817ce9
commit
8cde0b8892
@ -242,10 +242,8 @@ class OCCaseFee extends EditorialContentEntityBase implements OCCaseFeeInterface
|
|||||||
->setRequired(TRUE);
|
->setRequired(TRUE);
|
||||||
|
|
||||||
$fields['status']->setDescription(t('A boolean indicating whether the Case Fee is published.'))
|
$fields['status']->setDescription(t('A boolean indicating whether the Case Fee is published.'))
|
||||||
->setDisplayOptions('form', [
|
->setDisplayConfigurable('form', TRUE)
|
||||||
'type' => 'boolean_checkbox',
|
->setDisplayConfigurable('view', TRUE);
|
||||||
'weight' => -3,
|
|
||||||
]);
|
|
||||||
|
|
||||||
$fields['created'] = BaseFieldDefinition::create('created')
|
$fields['created'] = BaseFieldDefinition::create('created')
|
||||||
->setLabel(t('Created'))
|
->setLabel(t('Created'))
|
||||||
|
Reference in New Issue
Block a user