Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
Berdirentity_form_submit_build_entity() is dead and there's an issue to improve the submit callbacks and methods.