You are here

protected function RangeInternationalizationWebTestCase::getRangeFieldInstanceTranslatableStringTargets in Range 7

Returns array of translatable range field instance settings.

1 call to RangeInternationalizationWebTestCase::getRangeFieldInstanceTranslatableStringTargets()
RangeInternationalizationWebTestCase::translateRangeFieldInstanceSettings in tests/range.i18n.test
Translates range field instance settings.

File

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

Class

RangeInternationalizationWebTestCase
Tests translatability of range fields.

Code

protected function getRangeFieldInstanceTranslatableStringTargets() {
  return array(
    'label' => static::INSTANCE_LABEL_TRANSLATED,
    'from_label' => static::INSTANCE_SETTINGS_FROM_LABEL_TRANSLATED,
    'from_prefix' => static::INSTANCE_SETTINGS_FROM_PREFIX_TRANSLATED,
    'from_suffix' => static::INSTANCE_SETTINGS_FROM_SUFFIX_TRANSLATED,
    'to_label' => static::INSTANCE_SETTINGS_TO_LABEL_TRANSLATED,
    'to_prefix' => static::INSTANCE_SETTINGS_TO_PREFIX_TRANSLATED,
    'to_suffix' => static::INSTANCE_SETTINGS_TO_SUFFIX_TRANSLATED,
    'field_prefix' => static::INSTANCE_SETTINGS_FIELD_PREFIX_TRANSLATED,
    'field_suffix' => static::INSTANCE_SETTINGS_FIELD_SUFFIX_TRANSLATED,
    'combined_prefix' => static::INSTANCE_SETTINGS_COMBINED_PREFIX_TRANSLATED,
    'combined_suffix' => static::INSTANCE_SETTINGS_COMBINED_SUFFIX_TRANSLATED,
  );
}