You are here

function hook_ds_field_format_summary in Display Suite 7

Same name and namespace in other branches
  1. 8.4 ds.api.php \hook_ds_field_format_summary()
  2. 8.2 ds.api.php \hook_ds_field_format_summary()
  3. 8.3 ds.api.php \hook_ds_field_format_summary()
  4. 7.2 ds.api.php \hook_ds_field_format_summary()

Return configuration summary for the field format.

As soon as you have hook_ds_fields and one of the fields has a settings key, Display Suite will call this hook for the summary.

Parameters

$field: The configuration of the field.

Return value

$summary The summary to show on the Field UI.

2 functions implement hook_ds_field_format_summary()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

ds_ds_field_format_summary in ./ds.field_ui.inc
Implements hook_ds_field_format_summary().
ds_extras_ds_field_format_summary in modules/ds_extras/ds_extras.admin.inc
Implements hook_ds_field_format_summary().
1 invocation of hook_ds_field_format_summary()
ds_field_settings_summary in ./ds.field_ui.inc
Creates a summary for the field format configuration summary.

File

./ds.api.php, line 333
Hooks provided by Display Suite module.

Code

function hook_ds_field_format_summary($field) {
  return 'Field summary';
}