protected function RangeBrowserTestBase::getTestFieldNameRaw in Range 8
Returns raw field name (without "field_" prefix added by Drupal field UI).
Parameters
string $field_type: Range field type. Could be one of the following values: range_integer, range_float or range_decimal.
Return value
string Raw field name.
2 calls to RangeBrowserTestBase::getTestFieldNameRaw()
- RangeBrowserTestBase::getTestFieldName in tests/
src/ Functional/ RangeBrowserTestBase.php - Returns field name (with "field_" prefix added by Drupal field UI).
- RangeFieldUiTest::rangeTestAddNewField in tests/
src/ Functional/ RangeFieldUiTest.php - Test creating range field via field UI.
File
- tests/
src/ Functional/ RangeBrowserTestBase.php, line 50
Class
- RangeBrowserTestBase
- Base class for the range module's tests.
Namespace
Drupal\Tests\range\FunctionalCode
protected function getTestFieldNameRaw($field_type = 'range_integer') {
return "{$field_type}";
}