function popup_nodereference_field_formatter_settings_summary in Popup 7
Same name and namespace in other branches
- 8 modules/popup_nodereference/popup_nodereference.module \popup_nodereference_field_formatter_settings_summary()
Implementation of hook_field_formatter_settings_summary
File
- modules/
popup_nodereference/ popup_nodereference.module, line 72
Code
function popup_nodereference_field_formatter_settings_summary($field, $instance, $view_mode) {
$display = $instance['display'][$view_mode];
$settings = $display['settings'];
return t('Popup format: ') . '<em>' . $settings['popup_format'] . ', ' . ($settings['popup_grouping'] ? t('grouped nodes') : t('separate nodes')) . '</em>';
}