Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 292800

Resolve difference between submitForm(), submit(), and save() in EntityFormController

$
0
0

When EntityFormController was first written, it had both submit() and save() methods, and they were attached directly to each button.
Then when EntityFormController was moved to implement FormInterface, it gained a submitForm() method.

Proposal:
We should move all save-specific logic to save(), and move the rest directly into submitForm().


Viewing all articles
Browse latest Browse all 292800

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>