function lingotek_supported_field_type in Lingotek Translation 7.3
Same name and namespace in other branches
- 7.7 lingotek.util.inc \lingotek_supported_field_type()
- 7.2 lingotek.util.inc \lingotek_supported_field_type()
- 7.4 lingotek.util.inc \lingotek_supported_field_type()
- 7.5 lingotek.util.inc \lingotek_supported_field_type()
- 7.6 lingotek.util.inc \lingotek_supported_field_type()
Returns whether the given field type has support for translations.
Return value
Boolean value.
1 call to lingotek_supported_field_type()
- lingotek_form_field_ui_field_edit_form_alter in ./
lingotek.module - Implements hook_form_FORM_ID_alter().
File
- ./
lingotek.util.inc, line 458 - Utility functions.
Code
function lingotek_supported_field_type($type) {
return in_array($type, array(
'text_long',
'text_with_summary',
'text',
));
//'taxonomy_term_reference'));
}