mirror of
https://github.com/farmOS/farmOS.git
synced 2024-02-23 11:37:38 +01:00
Increase weight between quantity base fields.
This commit is contained in:
parent
80a687d6bd
commit
94ef94825c
|
@ -159,7 +159,7 @@ class Quantity extends RevisionableContentEntityBase implements QuantityInterfac
|
|||
->setDisplayOptions('view', [
|
||||
'label' => 'hidden',
|
||||
'type' => 'fraction_decimal',
|
||||
'weight' => 1,
|
||||
'weight' => 5,
|
||||
'settings' => [
|
||||
'precision' => 0,
|
||||
'auto_precision' => TRUE,
|
||||
|
@ -169,7 +169,7 @@ class Quantity extends RevisionableContentEntityBase implements QuantityInterfac
|
|||
])
|
||||
->setDisplayOptions('form', [
|
||||
'type' => 'fraction_decimal',
|
||||
'weight' => 1,
|
||||
'weight' => 5,
|
||||
'settings' => [
|
||||
'precision' => 0,
|
||||
'auto_precision' => TRUE,
|
||||
|
@ -197,11 +197,11 @@ class Quantity extends RevisionableContentEntityBase implements QuantityInterfac
|
|||
'settings' => [
|
||||
'link' => FALSE,
|
||||
],
|
||||
'weight' => 2,
|
||||
'weight' => 10,
|
||||
])
|
||||
->setDisplayOptions('form', [
|
||||
'type' => 'entity_reference_autocomplete',
|
||||
'weight' => 2,
|
||||
'weight' => 10,
|
||||
])
|
||||
->setDisplayConfigurable('form', FALSE)
|
||||
->setDisplayConfigurable('view', FALSE);
|
||||
|
@ -216,11 +216,11 @@ class Quantity extends RevisionableContentEntityBase implements QuantityInterfac
|
|||
->setDisplayOptions('view', [
|
||||
'label' => 'hidden',
|
||||
'type' => 'string',
|
||||
'weight' => 10,
|
||||
'weight' => 15,
|
||||
])
|
||||
->setDisplayOptions('form', [
|
||||
'type' => 'string_textfield',
|
||||
'weight' => 10,
|
||||
'weight' => 15,
|
||||
])
|
||||
->setDisplayConfigurable('form', FALSE)
|
||||
->setDisplayConfigurable('view', FALSE);
|
||||
|
|
Loading…
Reference in a new issue