NodeFormController::form() sets $form['#submit'] to an empty array(), so FormBuilder doesn't automatically adds submitForm() as a form-level submit.
As the comment shows, that's a remnant of D7, when the auto-populated submit callback would have been node_form_submit(), which in fact was just the button-level submit callback for the "Save" button.
That's not needed anymore, the "Save" buttons have their own dedicated submit methods (submit() and unpublish() respectively), and it's just confusing that submitting the form runs validateForm() but not submitForm() (no biggie, since both happen to be empty for nodes)
Comments
Comment #1
yched commentedPatch
Comment #4
yched commented1: NodeFormController-submit-2169875-1.patch queued for re-testing.
Comment #5
tim.plunkettThis is one step on the way to #2022875: Resolve difference between submitForm(), submit(), and save() in EntityFormController! Nice find.
Comment #6
webchickCommitted and pushed to 8.x. Thanks!