Posted by jsacksick on September 18, 2012 at 11:23am
3 followers
| Project: | Drupal Commerce |
| Version: | 7.x-1.x-dev |
| Component: | Product reference |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
When you rely on the display_context array that is filled in commerce_product_reference_entity_view, it could be useful to also have the view_mode and/or the langcode of the entity being displayed.
Currently, you only have the entity_type + the entity
Comments
#1
Patch attached
#2
#3
Yep, this is a great feature. Thanks, Jonathan!
On review, I made two quick changes:
Commit: http://drupalcode.org/project/commerce.git/commitdiff/0ec3b5d
#4
Automatically closed -- issue fixed for 2 weeks with no activity.