Download & Extend

Add implementation of hook_entity_info_alter() so that $node->feed_nid is available to Rules

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

Status:active» needs review

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?

AttachmentSizeStatusTest resultOperations
feeds_entity_property_info_alter_1424992_1.patch811 bytesIgnored: Check issue status.NoneNone

#2

#3

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().

#4

Status:fixed» closed (fixed)

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

nobody click here