protected function FieldTimerCountdownFormatterBase::typeOptions in Field Timer 8
Same name and namespace in other branches
- 2.x src/Plugin/Field/FieldFormatter/FieldTimerCountdownFormatterBase.php \Drupal\field_timer\Plugin\Field\FieldFormatter\FieldTimerCountdownFormatterBase::typeOptions()
1 call to FieldTimerCountdownFormatterBase::typeOptions()
- FieldTimerCountdownFormatterBase::settingsForm in src/
Plugin/ Field/ FieldFormatter/ FieldTimerCountdownFormatterBase.php - Returns a form to configure settings for the formatter.
File
- src/
Plugin/ Field/ FieldFormatter/ FieldTimerCountdownFormatterBase.php, line 123
Class
- FieldTimerCountdownFormatterBase
- Base implementation of formatters that uses jQuery Countdown plugin.
Namespace
Drupal\field_timer\Plugin\Field\FieldFormatterCode
protected function typeOptions() {
return [
static::TYPE_AUTO => $this
->t('Auto'),
static::TYPE_TIMER => $this
->t('Timer'),
static::TYPE_COUNTDOWN => $this
->t('Countdown'),
];
}