Hooks provided by the Field Group module.

Field Group is a module that will wrap fields and other field groups. Nothing more, nothing less.

For this there are formatters we can create on forms and view modes.

Some of the elements defined in field group will be ported to the elements module.

DEVELOPERS NOTES

  • Field Group uses a ''#fieldgroups' property to know what field groups are to be pre_rendered and rendered by the field_group module. This means we need to be sure our groups are in #fieldgroups. #fieldgroups is later merged with the normal #groups that can be used by any other module. This is done to be sure field group is not taking fieldsets from profile2, commerce line items, commerce user profiles, etc . When trying to merge a programmatically created field wrapper (div, markup, fieldset, ...) into groups, you might consider adding it in #fieldgroups as well if you want the element processed by field group.

File

core/modules/field_group/field_group.api.php

Functions