Problem/Motivation
Actually to use form-mode with a maximum of respect of routes/entity consistance we can use FormModeManager module. But to have a more flexible UI FormModeManager purpose task/action to expose usage of modes. When we display these modes onto entity canonical or entity-list that would be great if we can have a notion of 'weight' to order our form-modes available for an entity/bundle.
Proposed resolution
Add weight field and weight form element onto 'EntityFormMode' and 'EntityDisplayModeBase' basis. That can be usefull to implement that issue #2752469: Add a weight to the form modes and that not really job of FormModeManager to alter FormMode entities to add this.
Comment | File | Size | Author |
---|---|---|---|
#7 | add_weight_field_onto-2870160-7.patch | 3.23 KB | woprrr |
#5 | add_weight_field_onto-2870160-5.patch | 2.74 KB | woprrr |
#2 | add_weight_field_onto-2870160-2.patch | 2.76 KB | woprrr |
Comments
Comment #2
woprrr CreditAttribution: woprrr as a volunteer and at NeoLynk commentedThere is the path to add this feature ready to be used by modules.
Comment #3
woprrr CreditAttribution: woprrr as a volunteer and at NeoLynk commentedComment #5
woprrr CreditAttribution: woprrr as a volunteer and at NeoLynk commentedRe-roll patch.
Comment #7
woprrr CreditAttribution: woprrr as a volunteer and at NeoLynk commentedFix missing schema update.
Comment #12
woprrr CreditAttribution: woprrr as a volunteer and at NeoLynk commentedAnyone are interested by this feature ?