Proca.Field (proca v3.4.1)

Custom field helpers (to support deprecated Field model)

Link to this section Summary

Functions

Converts list of key->value to a map, and if some key is present more then once, the values will be aggregated in an array.

Link to this section Functions

Link to this function

list_to_map(fields)

Converts list of key->value to a map, and if some key is present more then once, the values will be aggregated in an array.

Link to this function

map_to_list(field_map)