1 date.admin.inc | date_interval_formatter_settings_summary($field, $instance, $view_mode) |
Settings summary for the interval formatter.
File
- core/
modules/ date/ date.admin.inc, line 180 - Admin page callbacks for the Date module.
Code
function date_interval_formatter_settings_summary($field, $instance, $view_mode) {
$summary = array();
$display = $instance['display'][$view_mode];
$settings = $display['settings'];
$summary[] = t('Display time ago, showing @interval units.', array('@interval' => $settings['interval']));
return $summary;
}