function locale_node_import_fields in Node import 6
Implements hook_node_import_fields().
File
- supported/
locale.inc, line 10 - Support file for core locale module.
Code
function locale_node_import_fields($type) {
$fields = array();
if (($node_type = node_import_type_is_node($type)) !== FALSE) {
$fields['language'] = array(
'title' => t('Language'),
'weight' => 2,
'is_mappable' => variable_get('language_content_type_' . $node_type, 0),
'input_format' => 'language',
);
}
return $fields;
}