function blazy_field_formatter_settings_summary in Blazy 7
Implements hook_field_formatter_settings_summary().
File
- ./
blazy.runtime.inc, line 129 - Provides basic Blazy integration for lazy loading and multi-serving images.
Code
function blazy_field_formatter_settings_summary($field, $instance, $view_mode) {
$type = in_array($field['type'], BlazyDefault::TEXTS) ? 'text' : $field['type'];
return blazy('plugin')
->getFormatter($type, $field, $instance)
->buildSettingsSummary($view_mode);
}