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.

Members fund testing for the Drupal project. Drupal Association Learn more


stevector’s picture

Status: Active » Needs review
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


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.