made published field configurable on case fee

This commit is contained in:
naomi 2021-11-11 14:35:45 +00:00
parent cffe817ce9
commit 8cde0b8892

View File

@ -242,10 +242,8 @@ class OCCaseFee extends EditorialContentEntityBase implements OCCaseFeeInterface
->setRequired(TRUE);
$fields['status']->setDescription(t('A boolean indicating whether the Case Fee is published.'))
->setDisplayOptions('form', [
'type' => 'boolean_checkbox',
'weight' => -3,
]);
->setDisplayConfigurable('form', TRUE)
->setDisplayConfigurable('view', TRUE);
$fields['created'] = BaseFieldDefinition::create('created')
->setLabel(t('Created'))