Title says it all.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Dave Reid’s picture

Status: Active » Needs review
FileSize
4.2 KB
Dave Reid’s picture

Note the patch also adds a hook_entity_load() so that feed items have a property 'feed_nid' for their source feed.

Dave Reid’s picture

Assigned: Unassigned » Dave Reid
Dave Reid’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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

Bevan’s picture

Status: Closed (fixed) » Needs review

#1033202: [Meta] Generic entity processor has a patch which also adds hook_entity_insert/update/delete, but wraps the body of each implementation in

if (!in_array ($type, array ('node', 'user', 'taxonomy_term'))) {
  ...
} 

I have not looked into why, or which is correct, but though it was worth noting here and re-reviewing this patch.

Dave Reid’s picture

Probably because that's the only entities that feeds.module used to support - but its an unnecessary restriction - we can operate on all entities no problem.

Bevan’s picture

Status: Needs review » Closed (fixed)

Thanks for the clarification.