public function field_timer_jquery_countdown_base::getSettingsSummary in Field Timer 7.2
@inheritdoc
Overrides field_timer_formatter_interface::getSettingsSummary
1 call to field_timer_jquery_countdown_base::getSettingsSummary()
- field_timer_jquery_countdown_date_field_base::getSettingsSummary in includes/
field_timer_jquery_countdown.inc - @inheritdoc
1 method overrides field_timer_jquery_countdown_base::getSettingsSummary()
- field_timer_jquery_countdown_date_field_base::getSettingsSummary in includes/
field_timer_jquery_countdown.inc - @inheritdoc
File
- includes/
field_timer_jquery_countdown.inc, line 44 - Help file. Contains help classes to perform field_timer_jquery_countdown formatter related actions.
Class
- field_timer_jquery_countdown_base
- Base class for field_timer_jquery_countdown formatter.
Code
public function getSettingsSummary($settings, $field) {
$summary = array();
$types = $this
->formatterTypes();
$regions = $this
->formatterRegions();
$summary[] = t('Type: %type', array(
'%type' => $types[$settings['type']],
));
$summary[] = t('Region: %regional', array(
'%regional' => $regions[$settings['regional']],
));
$summary[] = t('Format: %format', array(
'%format' => $settings['format'],
));
$summary[] = t('Layout: %layout', array(
'%layout' => $settings['layout'],
));
$summary[] = t('Compact: %compact', array(
'%compact' => $settings['compact'] ? t('Yes') : t('No'),
));
$summary[] = t('Granularity: %significant', array(
'%significant' => $settings['significant'],
));
$summary[] = t('Time separator: %timeSeparator', array(
'%timeSeparator' => $settings['timeSeparator'],
));
$summary[] = t('Pad with zeroes: %padZeroes', array(
'%padZeroes' => $settings['padZeroes'] ? t('Yes') : t('No'),
));
return $summary;
}