Skip to content
Snippets Groups Projects
Commit 8dfbfe2e authored by Miloš Kroulík's avatar Miloš Kroulík Committed by Matias Vessuri
Browse files

Issue #3471820 by milos.kroulik: Base fields should be configurable

parent e55f3d49
No related branches found
No related tags found
1 merge request!3Base fields should be configurable
Pipeline #333258 passed
......@@ -26,7 +26,8 @@ function conditional_rendering_entity_base_field_info(EntityTypeInterface $entit
->setDisplayOptions('form', [
'type' => 'options_select',
'weight' => 0,
]);
])
->setDisplayConfigurable('form', TRUE);
$fields['conditional_rendering_conditions'] = BaseFieldDefinition::create('conditional_rendering_condition')
->setLabel(t('Conditions'))
......@@ -35,7 +36,8 @@ function conditional_rendering_entity_base_field_info(EntityTypeInterface $entit
->setDisplayOptions('form', [
'type' => 'conditional_rendering_condition',
'weight' => 0,
]);
])
->setDisplayConfigurable('form', TRUE);
return $fields;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment