| 1 field_group.field_ui.inc | field_group_formatter_row_update(&$group, array $settings) |
Update the row so that the group variables are updated. The rendering of the elements needs the updated defaults.
Parameters
object $group: Group definition, passed by reference.
array $settings: Configuration settings.
File
- core/
modules/ field_group/ field_group.field_ui.inc, line 575 - Field_group.field_ui.inc is a file that contains most functions needed on the Fields UI Manage forms (display and fields).
Code
function field_group_formatter_row_update(&$group, array $settings) {
// If the row has changed formatter type, update the group object.
if (!empty($settings['format']['type']) && $settings['format']['type'] != $group->format_type) {
$group->format_type = $settings['format']['type'];
field_group_formatter_settings_update($group, $settings);
}
}