function globallink_translation_supported in GlobalLink Connect for Drupal 7.6
Same name and namespace in other branches
- 7.7 globallink.module \globallink_translation_supported()
- 7.5 globallink.module \globallink_translation_supported()
Determines whether or not the translation is supported.
Parameters
string $type: The type of translation.
Return value
bool True if the translation is supported.
4 calls to globallink_translation_supported()
- globallink_form_field_ui_field_edit_form_alter in ./
globallink.module - Implements hook_form_FORM_ID_alter().
- globallink_form_field_ui_field_overview_form_submit in ./
globallink.module - Submit handler for Manage Fields Page of Content Type and Field Collection. Adds a new field being added to the fields config table for translation.
- globallink_node_type_insert in ./
globallink.module - Implements hook_node_type_insert().
- globallink_node_type_update in ./
globallink.module - Implements hook_node_type_update().
File
- ./
globallink.module, line 157 - GlobalLink translation module.
Code
function globallink_translation_supported($type) {
if (translation_supported_type($type) || module_exists('globallink_entity') && entity_translation_node_supported_type($type)) {
return TRUE;
}
return FALSE;
}