I have created a custom entity type NOTE: it is based on an existing database structure and so ECK is not (according to Programming Drupal 7 Entities p. 84) able to deal with exposing an "existing database table[s] to Drupal".
I now need to create pages for users to create/edit/delete these entities themselves.
Surely there is something out there that allows me to just say "This is the entity type, this is the entity id, load all the columns in the database as $form fields and take care of it for me"?
EntityForm seems to me to want to make forms that are themselves entities.
entity_ui_get_form() seems to me to be about getting fieldable entities, but I'm trying to get the values as one can get by doing this...
$entity = entity_load('custom_entity', array($id)); ... $wrapper = entity_metadata_wrapper('custom_entity', $entity);
If this isn't something that can be done with only a few lines of code, what is the best approach? I got lost walking through the
hook_menu() callbacks for