Problem/Motivation

The function signature of #process is (&$element, &$form_state, &$form). This allows implementing modules to alter even the complete form structure.
field_group_form_process() currently takes the first parameter only and routes it to hook_field_group_form_process_build_alter() so there is no way to access the form state in an implementation of this hook.

Proposed resolution

Extend the signature of field_group_form_process() with $form_state and $form and route both parameters to hook_field_group_form_process_build_alter().

Comments

stBorchert created an issue. See original summary.

stborchert’s picture

Status: Active » Needs review
StatusFileSize
new1.84 KB
stborchert’s picture

StatusFileSize
new1.85 KB

updated patch

stborchert’s picture

StatusFileSize
new1.85 KB

Gnarf ... wrong changes committed :/

nils.destoop’s picture

Status: Needs review » Fixed

Sounds correct. I committed it to dev

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.