protected function FieldTimerCountyFormatter::animationOptions in Field Timer 2.x
Same name and namespace in other branches
- 8 src/Plugin/Field/FieldFormatter/FieldTimerCountyFormatter.php \Drupal\field_timer\Plugin\Field\FieldFormatter\FieldTimerCountyFormatter::animationOptions()
Gets animation options.
Return value
array Array of animation options.
1 call to FieldTimerCountyFormatter::animationOptions()
- FieldTimerCountyFormatter::settingsForm in src/
Plugin/ Field/ FieldFormatter/ FieldTimerCountyFormatter.php - Returns a form to configure settings for the formatter.
File
- src/
Plugin/ Field/ FieldFormatter/ FieldTimerCountyFormatter.php, line 187
Class
- FieldTimerCountyFormatter
- Plugin implementation of the 'field_timer_county' formatter.
Namespace
Drupal\field_timer\Plugin\Field\FieldFormatterCode
protected function animationOptions() {
return [
static::ANIMATION_FADE => $this
->t('Fade'),
static::ANIMATION_SCROLL => $this
->t('Scroll'),
];
}