In Making use of the admin UI, Step 3 – Implement the entity adding/editing form, it says that you need to implement “a” form with the ENTITY_TYPE_form() signature for add/edit/clone operations…
However the wiki page is not specific in regards to whether you should implement one or two forms. I explain – the example creates two “entities”: a “regular” entity, and a “bundle” entity. The example then implements ENTITY_TYPE_form() for the “bundle” kind of entity ONLY.
In attempt two answer the question: “Should I implement one or two forms?” I looked at the source code of both the Model and the Profile2 modules. The source of my confusion is that the Profile2 module implements only one form – like in the example – for the “bundle” kind of entity. But on the other hand the Model module implements two forms: one for the “regular” entity, and another one for the “bundle” entity. Why? What’s the correct use case? What’s the difference between the two implementations? What additional ability does implementing the “regular” entity form give us, if any?