function field_group_field_attach_form in Field Group 7
Same name and namespace in other branches
- 7.2 field_group.module \field_group_field_attach_form()
Implements hook_field_attach_form().
File
- ./
field_group.module, line 260 - Fieldgroup module.
Code
function field_group_field_attach_form($entity_type, $entity, &$form, &$form_state, $langcode) {
field_group_attach_groups($form, 'form', $form_state);
$form['#pre_render'][] = 'field_group_form_pre_render';
}