Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
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
Comment #1
Stalski CreditAttribution: Stalski commentedYou 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.
Comment #2
chevron CreditAttribution: chevron commentedHey there,
did you already build in the wrapper method?
Comment #3
Stalski CreditAttribution: Stalski commentedyes, but did not commit that yet. I am testing these ctools wrapper functions right now : )-