Closed (duplicate)
Project:
Entity reference
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
9 Jan 2012 at 21:13 UTC
Updated:
25 Jan 2012 at 21:44 UTC
Patch adds optional $instance. Like this, for example, in buildEntityFieldQuery() we can build the query based on the instance.
| Comment | File | Size | Author |
|---|---|---|---|
| er-pass-instance.patch | 3.84 KB | amitaibu |
Comments
Comment #1
damien tournoud commentedWe do have the instance everywhere; except in some weird backward compatibility cases for
entityreference_options_list(). The question is: what do we do when the instance is not passed?Comment #2
amitaibu> what do we do when the instance is not passed?
We assign $instance = NULL by default, as we can't do a smart on such cases.
Comment #4
amitaibuFixed in #1343854: Separate "Selection" and "behavior" to different plugins