Use hook_hook_info() to implement hook_form_FORM_ID_alter()s in a separate file I have a lot of mymodule_form_FORM_ID_alter()s in my module and I want to move them to a separate file (mymodule.form.inc), I found hook_hook_info() but I couldn't figure out how to use it for that specific case.

I tried adding:


$hooks['form_alter'] = array(
  'group' => 'form'
);


to mymodule_hook_info() but it didn't run the form alterers that I moved to the separate file. Any ideas how to get it to work?
It works pretty well, the only thing is that if you want to implement hook_form_FORM_ID_alter(), you need to add:


  $hooks['form_FORM_ID_alter'] = array(
    'group' => 'form'
  );
  return $hooks;