I have a module that creates a content-type. Within the installation process of my modules many different fields where added to that content-type, so I created some fieldgroups. Unfortunally this won't work any longer, because the function field_group_create_field_group() has been removed. What function shall I use instead?

Comments

Stalski’s picture

Status: Active » Closed (works as designed)

You will need to use the ctools export function ctools_export_crud_save($group).

ctools_include("export");
ctools_export_crud_save($group);

I will create a wrapper function that is easier to use field_group_save or something. I will keep you updated. This work is planned for tonight and this weekend.

chevron’s picture

Hey there,
did you already build in the wrapper method?

Stalski’s picture

yes, but did not commit that yet. I am testing these ctools wrapper functions right now : )-