Entity with property (& type) to form field (& type) translation

Component ID

2267151

Component name

Entity with property (& type) to form field (& type) translation

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

The ultimate aim is to have a process/ function that maps data types that you can use in entities (specifically custom entities using the Entity API) to form #type options? This is to dynamically add a field to a form from the entity and then once I've got the value from the submit handler, use the wrappers to set the property on a entity of the same entity type.