In #1499596: Introduce a basic entity form controller we unified the generation of entity forms and entity building from the submitted values. However the "real" submission handlers associated to the various entity-specific forms still need to be unfied and the related code moved to the base implementation. More specifically we will need to:

  • Factor up and generalize action-specific submit handlers
    • Remove form rebuild from vocabulary delete action
    • Make user profile cancellation the regular user delete action
  • Move entity_form_submit_build_entity() into the form controller.

Long story short: we need to unify the code for the save, delete and possibly preview actions.

Comments

Issue summary:View changes
Status:Active» Closed (duplicate)

entity_form_submit_build_entity() is dead and there's an issue to improve the submit callbacks and methods.