function translation_get_node_type in Internationalization 5
Same name and namespace in other branches
- 5.3 translation/translation.module \translation_get_node_type()
- 5.2 translation/translation.module \translation_get_node_type()
Returns node type for nid
1 call to translation_get_node_type()
- translation_menu in translation/
translation.module - Implementation of hook_menu().
File
- translation/
translation.module, line 887
Code
function translation_get_node_type($nid) {
return db_result(db_query('SELECT type FROM {node} WHERE nid=%d', $nid));
}