You are here

protected function RangeBaseWebTestCase::getTestFieldNameRaw in Range 7

Returns raw field name (without "field_" prefix added by Drupal field UI).

Parameters

string $field_type: Range field type. Possible values:

  • range_decimal
  • range_float
  • range_integer

Return value

string Raw field name.

2 calls to RangeBaseWebTestCase::getTestFieldNameRaw()
RangeBaseWebTestCase::getTestFieldName in tests/range.base.test
Returns field name (with "field_" prefix added by Drupal field UI).
RangeFieldUIWebTestCase::_testRangeFieldCreationUI in tests/range.field_ui.test
Helper method. Creates range field via field UI.

File

tests/range.base.test, line 76
Contains range base test classes.

Class

RangeBaseWebTestCase
Base class for the range module's tests.

Code

protected function getTestFieldNameRaw($field_type = 'range_integer') {
  return "{$field_type}";
}