You are here

protected function RangeInternationalizationWebTestCase::getRangeFieldInstanceTranslatableStringSources in Range 7

Returns array of translatable range field instance settings.

1 call to RangeInternationalizationWebTestCase::getRangeFieldInstanceTranslatableStringSources()
RangeInternationalizationWebTestCase::testRangeFieldInstanceSettingsAreTranslatable in tests/range.i18n.test
Verifies that range field instance settings are translatable.

File

tests/range.i18n.test, line 67
Contains range i18n tests.

Class

RangeInternationalizationWebTestCase
Tests translatability of range fields.

Code

protected function getRangeFieldInstanceTranslatableStringSources() {
  return array(
    'label' => static::INSTANCE_LABEL,
    'from_label' => static::INSTANCE_SETTINGS_FROM_LABEL,
    'from_prefix' => static::INSTANCE_SETTINGS_FROM_PREFIX,
    'from_suffix' => static::INSTANCE_SETTINGS_FROM_SUFFIX,
    'to_label' => static::INSTANCE_SETTINGS_TO_LABEL,
    'to_prefix' => static::INSTANCE_SETTINGS_TO_PREFIX,
    'to_suffix' => static::INSTANCE_SETTINGS_TO_SUFFIX,
    'field_prefix' => static::INSTANCE_SETTINGS_FIELD_PREFIX,
    'field_suffix' => static::INSTANCE_SETTINGS_FIELD_SUFFIX,
    'combined_prefix' => static::INSTANCE_SETTINGS_COMBINED_PREFIX,
    'combined_suffix' => static::INSTANCE_SETTINGS_COMBINED_SUFFIX,
  );
}