Closed (fixed)
Project:
Entity Operations
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
2 Feb 2014 at 09:57 UTC
Updated:
16 Feb 2014 at 11:40 UTC
Jump to comment: Most recent
EntityOperationsOperationAddGeneric contains a bit of a hack, as it must show either:
- a list of links for the entity types to create
- the actual form
It does this by generally claiming to be a form, and for the first case just returning a list of links.
This is fine as far as the UI goes, but for form alteration it's going to cause a WTF.
The fix is most likely to change the page callback it registered in its menu_item() to go in via the page callback and get to build(). The build() method can then either return page content, or return the result of a drupal_get_form() -- which would go back into the handler and get its form().
Comments
Comment #1
joachim commented