function _ds_field_group_field_ui_fix_notices in Display Suite 7.2
Same name and namespace in other branches
- 8.4 includes/field_ui.inc \_ds_field_group_field_ui_fix_notices()
- 8.2 includes/field_ui.inc \_ds_field_group_field_ui_fix_notices()
- 8.3 includes/field_ui.inc \_ds_field_group_field_ui_fix_notices()
- 7 ds.field_ui.inc \_ds_field_group_field_ui_fix_notices()
Add fake field group value in.
1 string reference to '_ds_field_group_field_ui_fix_notices'
- ds_field_ui_fields_layouts in includes/
ds.field_ui.inc - Adds the Display Suite fields and layouts to the form.
File
- includes/
ds.field_ui.inc, line 1524 - Field UI functions for Display Suite.
Code
function _ds_field_group_field_ui_fix_notices($form, &$form_state) {
$field_group = array(
'group_name' => '',
'label' => '',
);
$form_state['values']['fields']['_add_new_group'] = $field_group;
}