You are here

public function RangeSliderTrait::getOutputOptions in Range Slider 8

Get output options.

1 call to RangeSliderTrait::getOutputOptions()
RangeSliderWidget::settingsForm in src/Plugin/Field/FieldWidget/RangeSliderWidget.php
Returns a form to configure settings for the widget.

File

src/RangeSliderTrait.php, line 27

Class

RangeSliderTrait
Class RangeSliderTrait.

Namespace

Drupal\range_slider

Code

public function getOutputOptions() {
  return [
    'below' => $this
      ->t('Below'),
    'above' => $this
      ->t('Above'),
    'left' => $this
      ->t('Left'),
    'right' => $this
      ->t('Right'),
  ];
}