Closed (fixed)
Project:
Entity Construction Kit (ECK)
Version:
7.x-3.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Jul 2012 at 17:05 UTC
Updated:
10 May 2013 at 02:51 UTC
Jump to comment: Most recent file
Comments
Comment #1
kolier commentedModified, add 'content' to $entity as the official structure of hook_entity_view().
Comment #2
kolier commentedAnother patch.
But seems still don't work.
Anybody tell me which function will call eck__entity__view()?
Seems currently, the plugin hook 'entity_view' only for 'full' view mode? Other view mode won't load at all.
Comment #3
fmizzell commentedIn 3.x we have greater separation between the display and the functionality of entity properties. Behaviors are concentrating 100% in functionality, and now we have widgets, and soon formatters to edit or display those properties. The view hook in the behavior might stay just a as means to react when an entity is being viewed, but anything to do with manipulating the view of a property will be managed by formatters.