function lingotek_get_profile_fields in Lingotek Translation 7.7
Same name and namespace in other branches
- 7.4 lingotek.module \lingotek_get_profile_fields()
- 7.5 lingotek.module \lingotek_get_profile_fields()
- 7.6 lingotek.module \lingotek_get_profile_fields()
2 calls to lingotek_get_profile_fields()
File
- ./
lingotek.module, line 2545
Code
function lingotek_get_profile_fields($include_readonly = TRUE, $include_changeable = TRUE) {
$profile_fields = array();
if ($include_readonly) {
$profile_fields = array_merge($profile_fields, array(
'lingotek_nodes_translation_method',
'project_id',
'vault_id',
));
}
if ($include_changeable) {
$profile_fields = array_merge($profile_fields, array(
'profile',
'name',
'auto_upload',
'auto_download',
'allow_target_localization',
'allow_source_overwriting',
'allow_community_translation',
'url_alias_translation',
'workflow_id',
));
}
return $profile_fields;
}