Suppose i need to record all form submissions in a site, i mean all of them.
I would add a new submit handler to be executed after each forms submit handler, like
$form['#submit'] = 'log_submit' , right?
The problem is that some forms may not have the submit handler inside
$form['#submit'] array but in $form['buttons'] or $form['#actions'] etc...
How would i add my own submit handler to ALL of these forms, in one hook_form_alter() and in a clean way?