You are here

protected function field_timer_text_base::formatterGranularityManual in Field Timer 7.2

4 calls to field_timer_text_base::formatterGranularityManual()
field_timer_text_base::formatInterval in includes/field_timer_text.inc
Formats interval according to granularity settings.
field_timer_text_base::getSettingsForm in includes/field_timer_text.inc
@inheritdoc
field_timer_text_base::granularitySettingsSummary in includes/field_timer_text.inc
field_timer_text_date_field_base::getSettingsForm in includes/field_timer_text.inc
@inheritdoc

File

includes/field_timer_text.inc, line 227
Contains help classes to perform field_timer_text formatter related actions.

Class

field_timer_text_base
Base class for field_timer_text formatter.

Code

protected function formatterGranularityManual() {
  return array(
    'second' => t('Second'),
    'minute' => t('Minute'),
    'hour' => t('Hour'),
    'day' => t('Day'),
    'week' => t('Week'),
    'month' => t('Month'),
    'year' => t('Year'),
  );
}