You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm finding that deleting a Paragraph Type doesn't fully clean up -- the type and the field instances are removed, but if there are fields that were only used in that type, they remain in the configuration as orphans.
Right now we're manually deleting paragraphs field instances when deleting a paragraphs type (in paragraphs_bundle_delete):
When deleting the field instances, I think we should instead use field_instance_delete which will also give us an option to set the $field_cleanup parameter to TRUE and also delete the field itself if it is no longer in use:
I'm finding that deleting a Paragraph Type doesn't fully clean up -- the type and the field instances are removed, but if there are fields that were only used in that type, they remain in the configuration as orphans.
Right now we're manually deleting paragraphs field instances when deleting a paragraphs type (in
paragraphs_bundle_delete
):paragraphs/paragraphs.module
Lines 1139 to 1142 in e827b5a
When deleting the field instances, I think we should instead use
field_instance_delete
which will also give us an option to set the$field_cleanup
parameter toTRUE
and also delete the field itself if it is no longer in use:The text was updated successfully, but these errors were encountered: