You are here

function hook_ds_field_format_summary in Display Suite 8.3

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. 7.2 ds.api.php \hook_ds_field_format_summary()
  4. 7 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

array $field: The configuration of the field.

Return value

string The summary to show on the Field UI.

File

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

Code

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