I have a use case where I have a custom submit button on a node edit form that will take the user off to another page to do some other editing.
If the user has made some changes to the node, such as changed the title, I need to save the current node before redirecting them off to the new page (along with some other generated ID's).
For the life of me, I cant seem to see how I can save the changes to the node in my custom submit handler.
I have tried using
$formState->prepareCallback('::submitform()) but that doesn't seem to do what I expected of processing the form.
Anyone done this before or got any good ideas?