You are here

function lingotek_supported_field_type in Lingotek Translation 7.7

Same name and namespace in other branches
  1. 7.2 lingotek.util.inc \lingotek_supported_field_type()
  2. 7.3 lingotek.util.inc \lingotek_supported_field_type()
  3. 7.4 lingotek.util.inc \lingotek_supported_field_type()
  4. 7.5 lingotek.util.inc \lingotek_supported_field_type()
  5. 7.6 lingotek.util.inc \lingotek_supported_field_type()

Returns whether the given field type has support for translations.

Return value

Boolean value.

File

./lingotek.util.inc, line 823
Utility functions.

Code

function lingotek_supported_field_type($type) {
  return in_array($type, array(
    'text_long',
    'text_with_summary',
    'text',
  ));

  //'taxonomy_term_reference'));
}