You are here

protected function field_timer_text_base::formatterGranularityAuto in Field Timer 7.2

2 calls to field_timer_text_base::formatterGranularityAuto()
field_timer_text_base::getSettingsForm in includes/field_timer_text.inc
@inheritdoc
field_timer_text_date_field_base::getSettingsForm in includes/field_timer_text.inc
@inheritdoc

File

includes/field_timer_text.inc, line 239
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 formatterGranularityAuto() {
  $options = range(0, 7);
  unset($options[0]);
  return $options;
}