function path_feeds_processor_targets in Feeds 7.2
Implements hook_feeds_processor_targets().
File
- mappers/
path.inc, line 11 - On behalf implementation of Feeds mapping API for path.module.
Code
function path_feeds_processor_targets($entity_type, $bundle_name) {
$targets = array();
switch ($entity_type) {
case 'node':
case 'taxonomy_term':
case 'user':
$targets['path_alias'] = array(
'name' => t('Path alias'),
'description' => t('URL path alias of the node.'),
'callback' => 'path_feeds_set_target',
'summary_callbacks' => array(
'path_feeds_summary_callback',
),
'form_callbacks' => array(
'path_feeds_form_callback',
),
);
break;
}
return $targets;
}