Closed (fixed)
Project:
Entity API
Version:
7.x-1.x-dev
Component:
Code - misc
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
2 Aug 2011 at 15:02 UTC
Updated:
18 Aug 2011 at 12:51 UTC
Jump to comment: Most recent file
Comments
Comment #1
fagoindeed, options lists for event variables were completely broken in Rules as the wrappers didn't work in that case. I've just fixed that in entity + rules, so the node-view view-modes now work for me in Rules.
To fix the patch we'll need to add something like
to the view-mode variable info array.
Comment #2
mh86 commentedUpdated the patch for the latest Rules fix. Furthermore, the view mode variable will only be added to entities with some view modes.
Comment #3
fagothanks, committed.
Comment #4
mh86 commentedupdated the patch to only expose the view event for entities with view modes. For the other entities we assume that they don't use entity view anyway.
Comment #5
fagothanks, works for me. committed.