You are here

function node_feeds_processor_targets_alter in Feeds entity processor 7

Implements hook_feeds_processor_targets_alter().

File

./feeds_entity_processor.module, line 108
Provides a generic entity processor for Feeds.

Code

function node_feeds_processor_targets_alter(&$targets, $entity_type, $bundle) {
  if ($entity_type == 'node') {
    $targets['nid']['name'] = t('Node id');
    $targets['nid']['description'] = t('The nid of the node. NOTE: use this feature with care, node ids are usually assigned by Drupal.');
  }
}