cubicweb #1809414 add uicfg.set_field_order helper method [resolved]

This method is reimplemented again and again in various cubes:

def set_field_order(etype, attrs):
   for index, attr in enumerate(attrs):
       uicfg.autoform_field_kwargs.tag_subject_of(
           (etype, attr, '*'), {'order': index})
       uicfg.primaryview_display_ctrl.tag_subject_of(
           (etype, attr, '*'), {'order': index})

IMO, it belongs to cubicweb.

prioritynormal
typebug
done in3.14.0
load0.100
load left0.000
closed by#552d85fcb587 [uicfg] add uihelper module with high-level helpers (closes #1809414)