function locale_feeds_node_processor_targets_alter in Feeds 6
Same name and namespace in other branches
- 7 mappers/locale.inc \locale_feeds_node_processor_targets_alter()
Implementation of hook_feeds_node_processor_targets_alter().
File
- mappers/
locale.inc, line 37 - On behalf implementation of mapping hooks for locale module.
Code
function locale_feeds_node_processor_targets_alter(&$targets, $content_type) {
if (variable_get('language_content_type_' . $content_type, FALSE)) {
$targets['language'] = array(
'name' => t('Language'),
'callback' => 'locale_feeds_set_target',
'description' => t('The language of the node.'),
);
}
}