You are here

function ds_extras_ds_field_format_summary in Display Suite 7.2

Same name and namespace in other branches
  1. 7 modules/ds_extras/ds_extras.admin.inc \ds_extras_ds_field_format_summary()

Implements hook_ds_field_format_summary().

File

modules/ds_extras/includes/ds_extras.admin.inc, line 489
Display Suite Extras administrative functions.

Code

function ds_extras_ds_field_format_summary($field) {
  if (isset($field['formatter_settings'])) {
    foreach ($field['formatter_settings'] as $key => $value) {
      if (!empty($value)) {
        return t('Configured');
        break;
      }
    }
  }
  return t('Not configured');
}