Problem/Motivation
Function field_group_group_delete is seen as a hook implementation of hook_ENTITY_TYPE_delete for the group entity provided by Group module
Proposed resolution
Inline this code into the form, it looks like legacy code anyway?
Function field_group_group_delete is seen as a hook implementation of hook_ENTITY_TYPE_delete for the group entity provided by Group module
Inline this code into the form, it looks like legacy code anyway?
Comments
Comment #2
swentel commentedMmm yeah, this could probably be moved to FieldGroupDeleteForm::submitForm()
Or maybe rename so it doesn't collide? The module contains a couple of other functions that act as some sort of API for developers.
Comment #4
nils.destoop commentedRenaming is idd the best option, as this function is to help other users when they want to delete a field group via code. I committed a fix. The function is now 'field_group_delete_field_group'
Comment #5
nils.destoop commented