I'm new in Drupal, I create my first entity and use baseFieldDefinitions to set fields and in fields I use setDisplayOptions to set form like this:
$fields['piece'] = BaseFieldDefinition::create('integer')
->setLabel(t('piece'))
->setDisplayOptions('view', [
'label' => 'hidden',
'type' => 'string',
'weight' => 2,
])
->setDisplayOptions('form', [
'label' => 'inline',
'type' => 'string',/////// what is supported value list of type key
'weight' => 2,
])
->setDisplayConfigurable('form', TRUE)
->setDisplayConfigurable('view', TRUE);
what is supported value list of type key in display option?
I only found options_buttons
and string