You are here

function field_group_format_settings_summary in Field Group 7

Same name and namespace in other branches
  1. 8.3 includes/field_ui.inc \field_group_format_settings_summary()
  2. 8 includes/field_ui.inc \field_group_format_settings_summary()
  3. 7.2 field_group.field_ui.inc \field_group_format_settings_summary()

Creates a summary for the field format configuration summary.

Parameters

String $group_name The name of the group:

Object $group The group object:

Return value

Array ready to be rendered.

2 calls to field_group_format_settings_summary()
field_group_disabled_groups_overview in ./field_group.field_ui.inc
Show an overview of all the disabled fieldgroups, and make it possible to activate them again.
field_group_field_ui_overview_form_alter in ./field_group.field_ui.inc
Function to alter the fields overview and display overview screen.

File

./field_group.field_ui.inc, line 492
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_format_settings_summary($group_name, $group) {
  $summary = implode('<br />', module_invoke_all('field_group_format_summary', $group));
  return array(
    '#markup' => '<div class="field-formatter-summary">' . $summary . '</div>',
    '#cell_attributes' => array(
      'class' => array(
        'field-formatter-summary-cell',
      ),
    ),
  );
}