Feeds adds the feed_nid property to entities in feeds_entity_load(). Declaring this property in hook_entity_info_alter() makes that property more access to other modules like Rules. I will post a patch.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

stevector’s picture

Status: Active » Needs review
FileSize
811 bytes

Here's the patch. It currently only adds the feed_nid to the node entity. It should probably be added to any importable entity type. Is there an easy way to determine which entity types are importable?

johnv’s picture

twistor’s picture

Status: Needs review » Fixed

http://drupalcode.org/project/feeds.git/commit/054a397

The feed_nid property is set for all supported entities in hook_entity_property_info_alter().

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.