You are here

protected function DateRangeFieldTest::getTestFieldType in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/datetime_range/tests/src/Functional/DateRangeFieldTest.php \Drupal\Tests\datetime_range\Functional\DateRangeFieldTest::getTestFieldType()
  2. 10 core/modules/datetime_range/tests/src/Functional/DateRangeFieldTest.php \Drupal\Tests\datetime_range\Functional\DateRangeFieldTest::getTestFieldType()

Returns the type of field to be tested.

Return value

string

Overrides DateTestBase::getTestFieldType

File

core/modules/datetime_range/tests/src/Functional/DateRangeFieldTest.php, line 45

Class

DateRangeFieldTest
Tests Daterange field functionality.

Namespace

Drupal\Tests\datetime_range\Functional

Code

protected function getTestFieldType() {
  return 'daterange';
}