You are here

protected function RangeTestTrait::getRangeFieldTypes in Range 8

Returns list of available range field types.

Return value

string[] Array of range field types.

2 calls to RangeTestTrait::getRangeFieldTypes()
RangeWidgetUiTest::testTextFieldsWidgetUi in tests/src/Functional/Widget/RangeWidgetUiTest.php
Tests widget UI.
WidgetTest::testFieldWidget in tests/src/Kernel/Widget/WidgetTest.php
Tests widget.

File

tests/src/Traits/RangeTestTrait.php, line 279

Class

RangeTestTrait
Provides helper methods to test range fields.

Namespace

Drupal\Tests\range\Traits

Code

protected function getRangeFieldTypes() {
  return [
    'range_integer',
    'range_decimal',
    'range_float',
  ];
}