Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Title says it all.
Comment | File | Size | Author |
---|---|---|---|
#2 | 1066806-feeds-entity-hooks.patch | 4.19 KB | Dave Reid |
#1 | 1066806-feeds-entity-hooks.patch | 4.2 KB | Dave Reid |
Comments
Comment #1
Dave ReidComment #2
Dave ReidNote the patch also adds a hook_entity_load() so that feed items have a property 'feed_nid' for their source feed.
Comment #3
Dave ReidComment #4
Dave ReidCommitted to Git.
http://drupalcode.org/project/feeds.git/commit/da8d974
Comment #6
Bevan CreditAttribution: Bevan commented#1033202: [Meta] Generic entity processor has a patch which also adds
hook_entity_insert/update/delete
, but wraps the body of each implementation inI have not looked into why, or which is correct, but though it was worth noting here and re-reviewing this patch.
Comment #7
Dave ReidProbably 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.
Comment #8
Bevan CreditAttribution: Bevan commentedThanks for the clarification.