Posted by stevector on February 1, 2012 at 8:58pm
5 followers
| Project: | Feeds |
| Version: | 7.x-2.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
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.
Comments
#1
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?
#2
Perhaps this issue is related: #1661014: feeds_entity_load() called too often / is not cached.
#3
http://drupalcode.org/project/feeds.git/commit/054a397
The feed_nid property is set for all supported entities in hook_entity_property_info_alter().
#4
Automatically closed -- issue fixed for 2 weeks with no activity.