protected function FieldTimerCountdownLedFormatter::themeOptions in Field Timer 2.x
Same name and namespace in other branches
- 8 src/Plugin/Field/FieldFormatter/FieldTImerCountdownLedFormatter.php \Drupal\field_timer\Plugin\Field\FieldFormatter\FieldTimerCountdownLedFormatter::themeOptions()
Gets theme options.
Return value
array Array of theme options.
1 call to FieldTimerCountdownLedFormatter::themeOptions()
- FieldTimerCountdownLedFormatter::settingsForm in src/
Plugin/ Field/ FieldFormatter/ FieldTImerCountdownLedFormatter.php - Returns a form to configure settings for the formatter.
File
- src/
Plugin/ Field/ FieldFormatter/ FieldTImerCountdownLedFormatter.php, line 187
Class
- FieldTimerCountdownLedFormatter
- Plugin implementation of the 'field_timer_countdown' formatter.
Namespace
Drupal\field_timer\Plugin\Field\FieldFormatterCode
protected function themeOptions() {
return [
static::LED_THEME_GREEN => $this
->t('Green'),
static::LED_THEME_BLUE => $this
->t('Blue'),
];
}